Commit 8236820
drm/i915/gt: Relocate compression repacking WA for JSL/EHL
CACHE_MODE_0 registers should be saved and restored as part of
the context, not during engine reset. Move the related workaround
(Disable Repacking for Compression) from rcs_engine_wa_init()
to icl_ctx_workarounds_init() for Jasper Lake and Elkhart
Lake platforms. This ensures the WA is applied during context
initialisation.
BSPEC: 11322
Fixes: 0ddae02 ("drm/i915: Disable compression tricks on JSL")
Closes: Fixes: 0ddae02 ("drm/i915: Disable compression tricks on JSL")
Signed-off-by: Sebastian Brzezinka <[email protected]>
Cc: [email protected] # v6.13+
Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Krzysztof Karas <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/4feaa24094e019e000ceb6011d8cd419b0361b3f.1754902406.git.sebastian.brzezinka@intel.com
(cherry picked from commit c9932f0)
Signed-off-by: Tvrtko Ursulin <[email protected]>1 parent ff646d0 commit 8236820
1 file changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| 637 | + | |
| 638 | + | |
637 | 639 | | |
638 | 640 | | |
639 | 641 | | |
| |||
669 | 671 | | |
670 | 672 | | |
671 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
672 | 683 | | |
673 | 684 | | |
674 | 685 | | |
| |||
2306 | 2317 | | |
2307 | 2318 | | |
2308 | 2319 | | |
2309 | | - | |
2310 | | - | |
2311 | | - | |
2312 | | - | |
2313 | | - | |
2314 | | - | |
2315 | | - | |
2316 | | - | |
2317 | | - | |
2318 | 2320 | | |
2319 | 2321 | | |
2320 | 2322 | | |
| |||
0 commit comments