[Intel-gfx] [PATCH 2/2] drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Jun 20 07:15:46 UTC 2019
The same tests failing on CFL+ platforms are also failing on ICL.
Documentation doesn't list the
WaAllowPMDepthAndInvocationCountAccessFromUMD workaround for ICL but
applying it fixes the same tests as CFL.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
drivers/gpu/drm/i915/gt/intel_workarounds.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c b/drivers/gpu/drm/i915/gt/intel_workarounds.c
index 90df58ed1486..84a679606971 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
@@ -1092,6 +1092,12 @@ static void icl_whitelist_build(struct i915_wa_list *w)
/* WaEnableStateCacheRedirectToCS:icl */
whitelist_reg(w, GEN9_SLICE_COMMON_ECO_CHICKEN1);
+
+ /* WaAllowPMDepthAndInvocationCountAccessFromUMD:icl */
+ whitelist_reg(w, PS_DEPTH_COUNT);
+ whitelist_reg(w, PS_DEPTH_COUNT_UDW);
+ whitelist_reg(w, PS_INVOCATION_COUNT);
+ whitelist_reg(w, PS_INVOCATION_COUNT_UDW);
}
void intel_engine_init_whitelist(struct intel_engine_cs *engine)
--
2.21.0.392.gf8f6787159e
More information about the Intel-gfx
mailing list