drm/i915: Let panel power sequencing hardware do its job
authorKeith Packard <keithp@keithp.com>
Wed, 2 Nov 2011 02:57:50 +0000 (19:57 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Nov 2011 04:26:26 +0000 (20:26 -0800)
commit99ea7127a30bda29354e1ed3a75d80d5f9cfc2a7
tree687fe1e6f931daff1dda96bddf173f7ca5d9e312
parent417e822deee1d2bcd8a8a60660c40a0903713f2b
drm/i915: Let panel power sequencing hardware do its job

The panel power sequencing hardware tracks the stages of panel power
sequencing and signals when the panel is completely on or off. Instead
of blindly assuming the panel timings will work, poll the panel power
status register until it shows the correct values.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c