|
@@ -4697,6 +4697,14 @@ static void gen6_init_clock_gating(struct drm_device *dev)
|
|
|
I915_WRITE(_3D_CHICKEN3, (0xFFFF << 16) |
|
|
|
_3D_CHICKEN3_SF_DISABLE_FASTCLIP_CULL);
|
|
|
|
|
|
+ /*
|
|
|
+ * Bspec says:
|
|
|
+ * "This bit must be set if 3DSTATE_CLIP clip mode is set to normal and
|
|
|
+ * 3DSTATE_SF number of SF output attributes is more than 16."
|
|
|
+ */
|
|
|
+ I915_WRITE(_3D_CHICKEN3,
|
|
|
+ _MASKED_BIT_ENABLE(_3D_CHICKEN3_SF_DISABLE_PIPELINED_ATTR_FETCH));
|
|
|
+
|
|
|
/*
|
|
|
* According to the spec the following bits should be
|
|
|
* set in order to enable memory self-refresh and fbc:
|