]> 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)
commit6775a07300b86a9c58d105edc4dc78b50a869ff3
tree02c2bbe6483c50f5f8e5614b71dc5faad7bafdb2
parent5616e95d79a4e45ee3bc96f7b857fe65757162ae
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