diff options
author | Marc Herbert <marc.herbert@intel.com> | 2015-07-29 15:21:22 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-05 04:17:22 -0400 |
commit | 0667405b6061be2949d841f05647e550d48c2765 (patch) | |
tree | 696ac35b5802a07f8e66534d362742b27a2f71f7 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | 30886c5afbb446ec1e3616beb2858fba74a23d14 (diff) |
drm/i915/skl: revert duplicated WaBarrierPerformanceFixDisable:skl
With this simple git diff command one can see that skl_init_workarounds()
got two copies of WaBarrierPerformanceFixDisable:skl:
git diff -U21 ca6e4405779e^1 ca6e4405779e drivers/gpu/drm/i915/intel_ringbuffer.c
This happened when the backmerge of drm-intel-fixes-2015-07-15
Merged the same fix on both sides. Same fix but not identical enough for
git: with a different surrounding context; hence the code duplication.
This commit merely reverts the output of the git command above
= the duplication introduced in the backmerge.
(This duplication was found while running git sanity checks on a
_linearized_ i915 forklift for ChromeOS.)
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 177f7ed16cf0..1c14233d179f 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | |||
@@ -1041,13 +1041,6 @@ static int skl_init_workarounds(struct intel_engine_cs *ring) | |||
1041 | WA_SET_BIT_MASKED(HIZ_CHICKEN, | 1041 | WA_SET_BIT_MASKED(HIZ_CHICKEN, |
1042 | BDW_HIZ_POWER_COMPILER_CLOCK_GATING_DISABLE); | 1042 | BDW_HIZ_POWER_COMPILER_CLOCK_GATING_DISABLE); |
1043 | 1043 | ||
1044 | if (INTEL_REVID(dev) == SKL_REVID_C0 || | ||
1045 | INTEL_REVID(dev) == SKL_REVID_D0) | ||
1046 | /* WaBarrierPerformanceFixDisable:skl */ | ||
1047 | WA_SET_BIT_MASKED(HDC_CHICKEN0, | ||
1048 | HDC_FENCE_DEST_SLM_DISABLE | | ||
1049 | HDC_BARRIER_PERFORMANCE_DISABLE); | ||
1050 | |||
1051 | if (INTEL_REVID(dev) <= SKL_REVID_D0) { | 1044 | if (INTEL_REVID(dev) <= SKL_REVID_D0) { |
1052 | /* | 1045 | /* |
1053 | *Use Force Non-Coherent whenever executing a 3D context. This | 1046 | *Use Force Non-Coherent whenever executing a 3D context. This |