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: NDaniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk> Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录