From: Arun Siluvery Date: Fri, 25 Sep 2015 13:33:44 +0000 (+0100) Subject: drm/i915/skl: Remove WaDisableVFUnitClockGating X-Git-Tag: MMI-PSA29.97-13-9~7427^2~45^2~1402 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=010e9f5fad88bce83dc21a864540fcbf6d17e9b3;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/i915/skl: Remove WaDisableVFUnitClockGating 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 Reviewed-by: Ville Syrjälä [danvet: Keep #define as Ville suggested.] Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index ebb83564f60f..780b1e01d333 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -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) |