diff options
author | Adam Jackson <ajax@redhat.com> | 2011-07-26 16:53:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 09:09:53 -0800 |
commit | 6e99164ee37d513fb99c7b941e3eecbcd8ae8573 (patch) | |
tree | 2ca79844391848e8f1b5500b58f7e7ed5a7c813a /drivers/gpu/drm/i915/i915_gem_gtt.c | |
parent | ef2b44d1861ec01b9058ab3bcf82ad4c138551fe (diff) | |
download | lwn-6e99164ee37d513fb99c7b941e3eecbcd8ae8573.tar.gz lwn-6e99164ee37d513fb99c7b941e3eecbcd8ae8573.zip |
drm/i915/pch: Save/restore PCH_PORT_HOTPLUG across suspend
commit cda2bb78c24de7674eafa3210314dc75bed344a6 upstream.
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 <ajax@redhat.com>
Tested-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Cc: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
0 files changed, 0 insertions, 0 deletions