From: Adam Jackson Date: Tue, 26 Jul 2011 20:53:06 +0000 (-0400) Subject: drm/i915/pch: Save/restore PCH_PORT_HOTPLUG across suspend X-Git-Tag: v3.1-rc1~22^2~10^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda2bb78c24de7674eafa3210314dc75bed344a6;p=pandora-kernel.git drm/i915/pch: Save/restore PCH_PORT_HOTPLUG across suspend At least on a Lenovo X220 the HPD bits of this are enabled at boot but cleared after resume, which means plug interrupts stop working. This also happens to fix DP displays re-lighting on resume. I'm quite certain that's an accident: the first DP link train inevitably fails on that machine, and it's only serendipity that we're getting multiple plug interrupts and the second train works. But I shall take my victories where I get them. Signed-off-by: Adam Jackson Tested-by: Keith Packard Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- Reading git-diff-tree failed