aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorArun Siluvery <arun.siluvery@linux.intel.com>2014-10-28 14:33:12 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-14 04:29:14 -0500
commit3e470eaaee5c064045a88ecc7a9cf75105bb52d8 (patch)
treee1058abc1ade0ed3feb60ed4bf032560e523f239 /drivers/gpu
parentb8bbac1d01397ead65516f11adba1c7baf76a016 (diff)
drm/i915/chv: Remove pre-production workarounds
-WaDisableDopClockGating:chv -WaDisableSamplerPowerBypass:chv -WaDisableGunitClockGating:chv -WaDisableFfDopClockGating:chv -WaDisableDopClockGating:chv v2: Remove pre-production WA instead of restricting them based on revision id (Ville) For: VIZ-4090 Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c12
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c8
2 files changed, 0 insertions, 20 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 300d7e503f96..5764936e3a22 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -6958,18 +6958,6 @@ static void cherryview_init_clock_gating(struct drm_device *dev)
6958 /* WaDisableSDEUnitClockGating:chv */ 6958 /* WaDisableSDEUnitClockGating:chv */
6959 I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) | 6959 I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
6960 GEN8_SDEUNIT_CLOCK_GATE_DISABLE); 6960 GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
6961
6962 /* WaDisableGunitClockGating:chv (pre-production hw) */
6963 I915_WRITE(VLV_GUNIT_CLOCK_GATE, I915_READ(VLV_GUNIT_CLOCK_GATE) |
6964 GINT_DIS);
6965
6966 /* WaDisableFfDopClockGating:chv (pre-production hw) */
6967 I915_WRITE(GEN6_RC_SLEEP_PSMI_CONTROL,
6968 _MASKED_BIT_ENABLE(GEN8_FF_DOP_CLOCK_GATE_DISABLE));
6969
6970 /* WaDisableDopClockGating:chv (pre-production hw) */
6971 I915_WRITE(GEN6_UCGCTL1, I915_READ(GEN6_UCGCTL1) |
6972 GEN6_EU_TCUNIT_CLOCK_GATE_DISABLE);
6973} 6961}
6974 6962
6975static void g4x_init_clock_gating(struct drm_device *dev) 6963static void g4x_init_clock_gating(struct drm_device *dev)
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index f457146ff6a4..70fcf2aa0ca2 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -795,14 +795,6 @@ static int chv_init_workarounds(struct intel_engine_cs *ring)
795 WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN, 795 WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN,
796 STALL_DOP_GATING_DISABLE); 796 STALL_DOP_GATING_DISABLE);
797 797
798 /* WaDisableDopClockGating:chv (pre-production hw) */
799 WA_SET_BIT_MASKED(GEN7_ROW_CHICKEN2,
800 DOP_CLOCK_GATING_DISABLE);
801
802 /* WaDisableSamplerPowerBypass:chv (pre-production hw) */
803 WA_SET_BIT_MASKED(HALF_SLICE_CHICKEN3,
804 GEN8_SAMPLER_POWER_BYPASS_DIS);
805
806 return 0; 798 return 0;
807} 799}
808 800