OSDN Git Service

drm/i915: Assume we implement WaStripsFansDisableFastClipPerformanceFix:snb
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Feb 2014 19:59:16 +0000 (21:59 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Mar 2014 14:36:22 +0000 (15:36 +0100)
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>
drivers/gpu/drm/i915/intel_pm.c

index 45dd23f..f4ac8f3 100644 (file)
@@ -4695,6 +4695,7 @@ static void gen6_init_clock_gating(struct drm_device *dev)
                   GEN6_RCPBUNIT_CLOCK_GATE_DISABLE |
                   GEN6_RCCUNIT_CLOCK_GATE_DISABLE);
 
+       /* WaStripsFansDisableFastClipPerformanceFix:snb */
        /* Bspec says we need to always set all mask bits. */
        I915_WRITE(_3D_CHICKEN3, (0xFFFF << 16) |
                   _3D_CHICKEN3_SF_DISABLE_FASTCLIP_CULL);