]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: make sure eDP panel is turned on
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 22 Jul 2010 20:18:19 +0000 (13:18 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Jul 2010 18:27:04 +0000 (11:27 -0700)
commit24e43898838caa1abfcf3cd85141e5eed867a834
treed8ffde80fb3ac3ef19cdd671df1ec6741a95f7c4
parent44b50238609322c848d7b6587009f1e9251b7fb5
drm/i915: make sure eDP panel is turned on

When enabling the eDP port, we need to make sure the panel is turned on
after training the link.  If we don't, it likely won't come back after
suspend or may not come up at all.

For unknown reasons, unlocking the panel regs before initiating a power
on sequence is necessary.  There are known bugs in the PCH panel
sequencing logic, apparently this is one possible workaround.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=28739.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: "Paulo J. S. Silva" <pjssilva@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c