]> git.karo-electronics.de Git - linux-beck.git/commit
Revert and fix "drm/i915/dp: remove DPMS mode tracking from DP"
authorKeith Packard <keithp@keithp.com>
Tue, 26 Jul 2011 05:37:51 +0000 (22:37 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Jul 2011 23:23:57 +0000 (16:23 -0700)
commitd2b996ac698aebb28557355857927b8b934bb4f9
treeed268be433cc7e6d8df0f958512e6cf65f78dbb2
parentf0575e92974d328e8816ed89704c985a7d7d90ac
Revert and fix "drm/i915/dp: remove DPMS mode tracking from DP"

This reverts commit 885a50147f00a8a80108904bf58a18af357717f3.

We actually *do* need to track DPMS state so that on hotplug, we don't
retrain the link until DPMS is disabled.

However, that code had avery small bug -- it wouldn't set the
dpms_mode at mode set time, and so link retraining would not actually
occur on monitor hotplug until the monitor had gone through a DPMS
off/DPMS on cycle.

Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Andrew Lutomirski <luto@mit.edu>
drivers/gpu/drm/i915/intel_dp.c