summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-11-02 23:08:44 -0800
committerDave Airlie <airlied@linux.ie>2008-11-11 17:42:19 +1000
commit881ee9889c8b98671c5491e43666bf5d4f78a180 (patch)
treec6b851fbea5d4cf485263f16e998a647ea37d5ba /drivers/gpu/drm/i915/i915_reg.h
parent3ad4f597058301c97f362e500a32f63f5c950a45 (diff)
downloadop-kernel-dev-881ee9889c8b98671c5491e43666bf5d4f78a180.zip
op-kernel-dev-881ee9889c8b98671c5491e43666bf5d4f78a180.tar.gz
i915: Save/restore MCHBAR_RENDER_STANDBY on GM965/GM45
This register is set by the 2D driver to prevent lockups, and so it needs to be preserved across suspend/resume too. This makes my X200s work. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 5c2d9f2..0e476eb 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -527,6 +527,9 @@
#define C0DRB3 0x10206
#define C1DRB3 0x10606
+/** GM965 GM45 render standby register */
+#define MCHBAR_RENDER_STANDBY 0x111B8
+
/*
* Overlay regs
*/
OpenPOWER on IntegriCloud