drm/i915/skl: Remove WaDisableVFUnitClockGating
authorArun Siluvery <arun.siluvery@linux.intel.com>
Fri, 25 Sep 2015 13:33:44 +0000 (14:33 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 08:20:26 +0000 (10:20 +0200)
Dropping it because it is for pre-production stepping, also removed
bit definition in i915_reg.h as it is not used anywhere else.

Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: Keep #define as Ville suggested.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index ebb83564f60f264a2fab734ecb6d20b5332c0bda..780b1e01d3332d6f4a97ea8ae0ccbe69a1b2ccaf 100644 (file)
@@ -71,12 +71,6 @@ static void skl_init_clock_gating(struct drm_device *dev)
 
        gen9_init_clock_gating(dev);
 
-       if (INTEL_REVID(dev) <= SKL_REVID_B0) {
-               /* WaDisableVFUnitClockGating:skl */
-               I915_WRITE(GEN6_UCGCTL2, I915_READ(GEN6_UCGCTL2) |
-                          GEN6_VFUNIT_CLOCK_GATE_DISABLE);
-       }
-
        if (INTEL_REVID(dev) <= SKL_REVID_D0) {
                /* WaDisableHDCInvalidation:skl */
                I915_WRITE(GAM_ECOCHK, I915_READ(GAM_ECOCHK) |