drm/i915: Disable SSC for outputs other than LVDS or DP
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jan 2011 13:29:42 +0000 (13:29 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jan 2011 13:33:27 +0000 (13:33 +0000)
commit633f2ea26665d37bb3c8ae30799aa14988622653
treee06f4aef5cec14ce6afa144d454872c446a3520a
parent9a4114ffa7b6f5f4635e3745a8dc051d15d4596a
drm/i915: Disable SSC for outputs other than LVDS or DP

For CRT and SDVO/HDMI, we need to use a normal, non-SSC, clock and so we
must clear any enabling bits left-over from earlier outputs. And also
seems to correct the LVDS panel on the Lenovo U160.

However, at one point, it did cause an "ERROR failed to disable
trancoder". So prolonged testing on top of Jesse's refactored and
error-checking CRTC logic is desired.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h
drivers/gpu/drm/i915/intel_display.c