summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-27 17:17:45 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-05 21:46:19 +0400
commit5ccce180fe6d484454650d8b2a71fde22d311013 (patch)
tree1a2302c99ae0c2454ec912415ee4c738a0f1d52f /drivers/gpu/drm/i915/i915_reg.h
parentd4b8bb2ac1254b98631909251f299f7789b5bed5 (diff)
downloadlinux-5ccce180fe6d484454650d8b2a71fde22d311013.tar.xz
drm/i915: also reset the media engine on gen4/5
... we actually use it. Unfortunately we can't reset both at the same time without also resetting the display unit, so do render and media separately. Also replace magic constants with proper #defines. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 7bc407a87c0c..3850b7b95167 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -82,6 +82,7 @@
#define GRDOM_FULL (0<<2)
#define GRDOM_RENDER (1<<2)
#define GRDOM_MEDIA (3<<2)
+#define GRDOM_RESET_ENABLE (1<<0)
#define GEN6_MBCUNIT_SNPCR 0x900c /* for LLC config */
#define GEN6_MBC_SNPCR_SHIFT 21