summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorEric Anholt2011-12-21 19:31:09 +0100
committerKeith Packard2012-01-03 18:31:13 +0100
commit116ac8d26101c06ad80a4e1cb560db1c525397f8 (patch)
treef80c7461b6dd9b5da2307806d5f6f759c6661471 /drivers/gpu/drm/i915/i915_reg.h
parentdrm/i915: add color key support v4 (diff)
downloadkernel-qcow2-linux-116ac8d26101c06ad80a4e1cb560db1c525397f8.tar.gz
kernel-qcow2-linux-116ac8d26101c06ad80a4e1cb560db1c525397f8.tar.xz
kernel-qcow2-linux-116ac8d26101c06ad80a4e1cb560db1c525397f8.zip
drm/i915: Set two chicken bits implicated in missed IRQs on Ivybridge.
They don't fix our problems alone, but we're told to set them. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index eb44432d79bf..edced95aa75f 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -3020,6 +3020,10 @@
#define ILK_DPFC_DIS1 (1<<8)
#define ILK_DPFC_DIS2 (1<<9)
+#define IVB_CHICKEN3 0x4200c
+# define CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE (1 << 5)
+# define CHICKEN3_DGMG_DONE_FIX_DISABLE (1 << 2)
+
#define DISP_ARB_CTL 0x45000
#define DISP_TILE_SURFACE_SWIZZLING (1<<13)
#define DISP_FBC_WM_DIS (1<<15)