drm/i915/skl: Remove WaSetGAPSunitClckGateDisable
authorArun Siluvery <arun.siluvery@linux.intel.com>
Fri, 25 Sep 2015 13:33:43 +0000 (14:33 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 08:20:25 +0000 (10:20 +0200)
Dropping it because it is for pre-production stepping, also removed
bit definition in i915_reg 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 eb5498a6a1e6e06c6b77b4a4030183a63c6add8f..ebb83564f60f264a2fab734ecb6d20b5332c0bda 100644 (file)
@@ -72,12 +72,6 @@ static void skl_init_clock_gating(struct drm_device *dev)
        gen9_init_clock_gating(dev);
 
        if (INTEL_REVID(dev) <= SKL_REVID_B0) {
-               /*
-                * WaSetGAPSunitClckGateDisable:skl
-                */
-               I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
-                          GEN8_GAPSUNIT_CLOCK_GATE_DISABLE);
-
                /* WaDisableVFUnitClockGating:skl */
                I915_WRITE(GEN6_UCGCTL2, I915_READ(GEN6_UCGCTL2) |
                           GEN6_VFUNIT_CLOCK_GATE_DISABLE);