drm/i915: Wrap DP EDID fetch functions to enable eDP panel power
authorKeith Packard <keithp@keithp.com>
Wed, 28 Sep 2011 23:38:44 +0000 (16:38 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 6 Oct 2011 02:56:51 +0000 (19:56 -0700)
commit8c241fef3e6f69f3f675678ae03599ece3f562e2
tree6b702ea657a122e361bceae62fcbe6404e3784bb
parent552fb0b7a6e8079339913512b75d8c203f54bfdf
drm/i915: Wrap DP EDID fetch functions to enable eDP panel power

Talking to the eDP DDC channel requires that the panel be powered
up. Wrap both the EDID and modes fetch code with calls to turn the vdd
power on and back off.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c