]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable vdd when switching off the eDP panel
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 May 2012 15:14:50 +0000 (17:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 May 2012 15:54:01 +0000 (17:54 +0200)
commit89c7854764de114ba73dfde60ce9600cd1e6021a
tree72658df0053d2bbeccb9260c28e14ac307f4786a
parent472f2d3c18840808e53fa9aca59998c9ee6ef15d
drm/i915: enable vdd when switching off the eDP panel

We have one bug report from a validation team that we get the eDP
panel sequencing still somewhat wrong: We need to enable VDD while
switching off the panel and backlight. Unfortunately that reporter
seems to have fallen off the earth :(

For another reporter this actually fixes a black panel issue because
without this the backlight/panel gets confused and doesn't light up
again.

v2: I've forgotten to remove the vdd_off call in panel_off which is
now bogus. This essentially reverts

commit 59d0dc57532948a29339a304a8961e41df5bf707
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 16 22:43:42 2012 +0100

    drm/i915/dp: Flush any outstanding work to turn the VDD off

v3: the current panel_off code forces off the vdd power, too. Which is
bogus and resulted in some funny warnings later on when we've tried to
do aux channel communications with just the vdd forced on. Fix this,
too.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46312
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43163
Tested-by: Vincent Frentzel <zcecc22@gmail.com>
Cc: stable@kernel.org
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c