]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Only apply the workaround if the select is still active
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Dec 2010 11:20:45 +0000 (11:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Dec 2010 22:46:11 +0000 (22:46 +0000)
commit8007bc6a5000bc4bb7b26bed427712d46bb5152c
treea2402c55a1cd5db952a45bfa06f598100f56e299
parent8fdd1fb2a626458dedf8d82491ea9cd35af0a531
drm/i915/dp: Only apply the workaround if the select is still active

As we may try to power down the link at various times, it is not
necessarily still coupled with an encoder and so we must be careful not
to depend upon an operation that is only valid when the link is still
attached to a pipe.

Fixes regression in b91c324.

Reported-and-tested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org [after applying b91c324]
drivers/gpu/drm/i915/intel_dp.c