]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/sdvo: Only enable HDMI encodings only if the commandset is supported
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Nov 2010 11:12:46 +0000 (11:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Nov 2010 13:27:29 +0000 (13:27 +0000)
commitb3277b530b81e75581d4bb32216e37b70301cdac
treea5cf52a8433e107a2b27f5d0adaaa15394c94df3
parentb1b586d628713077d2f7a1b54c64d813ae76902f
drm/i915/sdvo: Only enable HDMI encodings only if the commandset is supported

As we conflated intel_sdvo->is_hdmi with both having HDMI support on the
ADD along with having HDMI support on the monitor, we would attempt to
use HDMI encodings even if the interface did not support those commands.

Reported-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Reviewed-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
drivers/gpu/drm/i915/intel_sdvo.c