]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: VLV wants WaVSThreadDispatchOverride too
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Jan 2014 19:33:01 +0000 (21:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Jan 2014 19:15:58 +0000 (20:15 +0100)
Call gen7_setup_fixed_func_scheduler() on VLV as well.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index 5b1ca3a38e49244197a0ce50bcab4b058674e6d0..6c435e48f5541e0430bebe63c37031808236e4d5 100644 (file)
@@ -4658,7 +4658,7 @@ static void gen7_setup_fixed_func_scheduler(struct drm_i915_private *dev_priv)
        uint32_t reg = I915_READ(GEN7_FF_THREAD_MODE);
 
        /*
-        * WaVSThreadDispatchOverride:ivb
+        * WaVSThreadDispatchOverride:ivb,vlv
         *
         * This actually overrides the dispatch
         * mode for all thread types.
@@ -4931,6 +4931,8 @@ static void valleyview_init_clock_gating(struct drm_device *dev)
                   I915_READ(GEN7_SQ_CHICKEN_MBCUNIT_CONFIG) |
                   GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB);
 
+       gen7_setup_fixed_func_scheduler(dev_priv);
+
        /*
         * According to the spec, bit 13 (RCZUNIT) must be set on IVB.
         * This implements the WaDisableRCZUnitClockGating:vlv workaround.