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)
commit9934c132989d5c488d2e15188220ce240960ce96
treed8ffde80fb3ac3ef19cdd671df1ec6741a95f7c4
parent4a655f043160eeae447efd3be297b6b4c397a640
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