]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "drm/i915: Implement Wa_1508744258"
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 19 Nov 2021 14:09:30 +0000 (06:09 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 2 Dec 2021 14:56:34 +0000 (09:56 -0500)
This workarounds are causing hangs, because I missed the fact that it
needs to be enabled for all cases and disabled when doing a resolve
pass.

So KMD only needs to whitelist it and UMD will be the one setting it
on per case.

This reverts commit a06517784c5024be489b6a8a289464f784f66f69.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/4145
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Fixes: a06517784c50 ("drm/i915: Implement Wa_1508744258")
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211119140931.32791-1-jose.souza@intel.com
(cherry picked from commit f3799ff16fcfacd44aee55db162830df461b631f)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_workarounds.c

index e1f36253088918c9bedc0805e3bb9a7f80235c7b..ed73d9bc9d40b2aabff9933fe8d763e788b29834 100644 (file)
@@ -621,13 +621,6 @@ static void gen12_ctx_workarounds_init(struct intel_engine_cs *engine,
               FF_MODE2_GS_TIMER_MASK,
               FF_MODE2_GS_TIMER_224,
               0, false);
-
-       /*
-        * Wa_14012131227:dg1
-        * Wa_1508744258:tgl,rkl,dg1,adl-s,adl-p
-        */
-       wa_masked_en(wal, GEN7_COMMON_SLICE_CHICKEN1,
-                    GEN9_RHWO_OPTIMIZATION_DISABLE);
 }
 
 static void dg1_ctx_workarounds_init(struct intel_engine_cs *engine,