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)
commitda79de97d254145dcb7c08c978b1093eac15ec9c
treea5cf52a8433e107a2b27f5d0adaaa15394c94df3
parent4ab0fbd3a29067e1540f05093ae4ed07645d18c8
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