]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: remove DPMS mode tracking from DP
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 7 Jul 2011 18:11:01 +0000 (11:11 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 7 Jul 2011 20:38:47 +0000 (13:38 -0700)
commit7bab8d972d29af77dee197b75bb92f6cb4c583a9
tree02c2bbe6483c50f5f8e5614b71dc5faad7bafdb2
parenta7e173b1204524ffd13fee137917165d2070b1f2
drm/i915/dp: remove DPMS mode tracking from DP

We currently use this when a hot plug event is received, only checking
the link status and re-training if we had previously configured a link.
However if we want to preserve the DP configuration across both hot plug
and DPMS events (which we do for userspace apps that don't respond to
hot plug uevents), we need to unconditionally check the link and try to
bring it up on hot plug.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_dp.c