[PATCH] drm/i915: Skip wa check on Wa_1406680159

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Jun 17 20:46:32 UTC 2021


To unblock EHL/JSL CI, let's try to avoid the check and act
like a write-only register.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c b/drivers/gpu/drm/i915/gt/intel_workarounds.c
index 977a76e648e0..4c81e5c4574d 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
@@ -1778,9 +1778,10 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)
 			    PSDUNIT_CLKGATE_DIS);
 
 		/* Wa_1406680159:icl,ehl */
-		wa_write_or(wal,
-			    SUBSLICE_UNIT_LEVEL_CLKGATE,
-			    GWUNIT_CLKGATE_DIS);
+		wa_write_clr_set(wal,
+				 SUBSLICE_UNIT_LEVEL_CLKGATE,
+				 0, /* XXX to unblock CI: skip validation */
+				 _MASKED_BIT_ENABLE(GWUNIT_CLKGATE_DIS));
 
 		/*
 		 * Wa_1408767742:icl[a2..forever],ehl[all]
-- 
2.31.1



More information about the Intel-gfx-trybot mailing list