summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter2012-04-11 20:42:41 +0200
committerDaniel Vetter2012-04-17 11:20:02 +0200
commitbf97b276ca04cee9ab65ffd378fa8e6aedd71ff6 (patch)
tree70730bee7c79aaee958cb6e8d0febf546480ca6c /drivers/gpu/drm/i915/i915_reg.h
parentdrm/i915: properly set ppgtt cacheability on snb (diff)
downloadkernel-qcow2-linux-bf97b276ca04cee9ab65ffd378fa8e6aedd71ff6.tar.gz
kernel-qcow2-linux-bf97b276ca04cee9ab65ffd378fa8e6aedd71ff6.tar.xz
kernel-qcow2-linux-bf97b276ca04cee9ab65ffd378fa8e6aedd71ff6.zip
drm/i915: implement w/a for incorrect guarband clipping
According to Bsepc, this should be set by default, but isn't. See vo1c.4 "Render Engine Command Streamer", Section 1.1.14.3 "3D_CHICKEN3" Bspec also says that we always need to set all mask bits. v2: Add comment about the mask bits wtf. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> 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 a9030f852cf9..6d9205436121 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -497,6 +497,7 @@
*/
# define _3D_CHICKEN2_WM_READ_PIPELINED (1 << 14)
#define _3D_CHICKEN3 0x02090
+#define _3D_CHICKEN_SF_DISABLE_FASTCLIP_CULL (1 << 5)
#define MI_MODE 0x0209c
# define VS_TIMER_DISPATCH (1 << 6)