]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:44 +0000 (11:17 -0800)
commitecd5ceef3bd8bb92eda9fbc6b262300de7e185e1
tree6be82c13659eac4333eddeb1971645ba55466094
parent37fbd7f005f8885db0c6406bc27aea69c3bbf372
drm/i915: Wrap DP EDID fetch functions to enable eDP panel power

commit 8c241fef3e6f69f3f675678ae03599ece3f562e2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_dp.c