]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Don't try and disable an encoder that was never enabled
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Dec 2010 11:24:07 +0000 (11:24 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Dec 2010 23:33:02 +0000 (09:33 +1000)
commite1ee375a2fdb4a00335c5fb7ad5e0280c6596532
treef8e24751b5545577e1b480424e1514b5cfc4e042
parent041eed20fe69f4aa9bb2d8ac572a226022fdfdb5
drm: Don't try and disable an encoder that was never enabled

Prevents code that assumes that the encoder is active when asked to be
disabled from dying a horrible death.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c