Skip to content

Commit bf74c93

Browse files
matt-auldjnikula
authored andcommitted
drm/i915: fix WaInsertDummyPushConstPs
As pointed out by Chris Harris, we are using the wrong WA name, it should in fact be WaToEnableHwFixForPushConstHWBug, also it should be applied from C0 onwards for both BXT and KBL. Fixes: 7b9005c ("drm/i915: Add WaInsertDummyPushConstP for bxt and kbl") Cc: Chris Harris <chris.harris@intel.com> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Reported-by: Chris Harris <chris.harris@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470127013-29653-1-git-send-email-matthew.auld@intel.com (cherry picked from commit 575e3cc) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent 85bf59d commit bf74c93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpu/drm/i915/intel_ringbuffer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,8 +1178,8 @@ static int bxt_init_workarounds(struct intel_engine_cs *engine)
11781178
I915_WRITE(GEN8_L3SQCREG1, L3_GENERAL_PRIO_CREDITS(62) |
11791179
L3_HIGH_PRIO_CREDITS(2));
11801180

1181-
/* WaInsertDummyPushConstPs:bxt */
1182-
if (IS_BXT_REVID(dev_priv, 0, BXT_REVID_B0))
1181+
/* WaToEnableHwFixForPushConstHWBug:bxt */
1182+
if (IS_BXT_REVID(dev_priv, BXT_REVID_C0, REVID_FOREVER))
11831183
WA_SET_BIT_MASKED(COMMON_SLICE_CHICKEN2,
11841184
GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION);
11851185

@@ -1222,8 +1222,8 @@ static int kbl_init_workarounds(struct intel_engine_cs *engine)
12221222
I915_WRITE(GEN8_L3SQCREG4, I915_READ(GEN8_L3SQCREG4) |
12231223
GEN8_LQSC_RO_PERF_DIS);
12241224

1225-
/* WaInsertDummyPushConstPs:kbl */
1226-
if (IS_KBL_REVID(dev_priv, 0, KBL_REVID_B0))
1225+
/* WaToEnableHwFixForPushConstHWBug:kbl */
1226+
if (IS_KBL_REVID(dev_priv, KBL_REVID_C0, REVID_FOREVER))
12271227
WA_SET_BIT_MASKED(COMMON_SLICE_CHICKEN2,
12281228
GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION);
12291229

0 commit comments

Comments
 (0)