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)
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>

No differences found