From: Keith Packard Date: Tue, 26 Jul 2011 05:37:51 +0000 (-0700) Subject: Revert and fix "drm/i915/dp: remove DPMS mode tracking from DP" X-Git-Tag: v3.1-rc1~22^2~10^2~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2b996ac698aebb28557355857927b8b934bb4f9;p=pandora-kernel.git 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 Tested-by: Andrew Lutomirski --- Reading git-diff-tree failed