aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorPeng Li <peng.li@intel.com>2008-11-18 12:39:02 +0800
committerDave Airlie <airlied@redhat.com>2008-11-26 15:47:25 +1000
commit461cba2d294fe83297edf8a6556912812903dce1 (patch)
tree19c7cd768bbbc5a35b124dc856e109a8b2ddff5f /drivers/gpu/drm/i915/i915_drv.h
parentdrm: move drm vblank initialization/cleanup to driver load/unload (diff)
downloadlinux-dev-461cba2d294fe83297edf8a6556912812903dce1.tar.xz
linux-dev-461cba2d294fe83297edf8a6556912812903dce1.zip
drm/i915: Save/restore HWS_PGA on suspend/resume
It fixes suspend/resume failure of xf86-video-intel dri2 branch. As dri2 branch doesn't call I830DRIResume() to restore hardware status page anymore, we need to preserve this register across suspend/resume. Signed-off-by: Peng Li <peng.li@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index b24d522f490c..0a4f39b9a0ec 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -150,6 +150,7 @@ typedef struct drm_i915_private {
u32 saveDSPBCNTR;
u32 saveDSPARB;
u32 saveRENDERSTANDBY;
+ u32 saveHWS;
u32 savePIPEACONF;
u32 savePIPEBCONF;
u32 savePIPEASRC;