[Intel-gfx] [PATCH 13/19] drm/i915/perf: Add Wa_16010703925:dg2
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Tue Aug 23 00:03:36 UTC 2022
On DG2 A0, the OAR report format is buggy. Workaround is to not use it
for A0. For A0, remove the OAR format from the bitmask of supported
formats.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
---
drivers/gpu/drm/i915/i915_perf.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index c3183aedc712..3a1e0c5271e2 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -4750,6 +4750,11 @@ static void oa_init_supported_formats(struct i915_perf *perf)
default:
MISSING_CASE(platform);
}
+
+ if (IS_DG2_GRAPHICS_STEP(i915, G10, STEP_A0, STEP_B0)) {
+ /* Wa_16010703925:dg2 */
+ clear_bit(I915_OAR_FORMAT_A36u64_B8_C8, perf->format_mask);
+ }
}
static void i915_perf_init_info(struct drm_i915_private *i915)
--
2.25.1
More information about the Intel-gfx
mailing list