aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-02-04 14:59:16 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-04 09:36:22 -0500
commit5eb146dd0b092b79f2c2c5449e7e78e94c076ff9 (patch)
tree08766e4c11009943a2ba60928cf9e0e153955d1c /drivers/gpu/drm/i915/intel_pm.c
parent8d85d27281095e4df6eb97ae84326b5814337337 (diff)
drm/i915: Assume we implement WaStripsFansDisableFastClipPerformanceFix:snb
Based on the name, the workaround we implement is WaStripsFansDisableFastClipPerformanceFix. Unfortunately there's no description in the w/a database, so this is just a guess. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Antti Koskipää <antti.koskipaa@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 45dd23f12a6f..f4ac8f324b1c 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4695,6 +4695,7 @@ static void gen6_init_clock_gating(struct drm_device *dev)
4695 GEN6_RCPBUNIT_CLOCK_GATE_DISABLE | 4695 GEN6_RCPBUNIT_CLOCK_GATE_DISABLE |
4696 GEN6_RCCUNIT_CLOCK_GATE_DISABLE); 4696 GEN6_RCCUNIT_CLOCK_GATE_DISABLE);
4697 4697
4698 /* WaStripsFansDisableFastClipPerformanceFix:snb */
4698 /* Bspec says we need to always set all mask bits. */ 4699 /* Bspec says we need to always set all mask bits. */
4699 I915_WRITE(_3D_CHICKEN3, (0xFFFF << 16) | 4700 I915_WRITE(_3D_CHICKEN3, (0xFFFF << 16) |
4700 _3D_CHICKEN3_SF_DISABLE_FASTCLIP_CULL); 4701 _3D_CHICKEN3_SF_DISABLE_FASTCLIP_CULL);