mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
radeonsi/gfx11: add missing DCC_RD_POLICY setting
Fixes:5acff16ce4("radeonsi: add a separate gfx10_init_gfx_preamble_state function") Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27943> (cherry picked from commit2347259f1d)
This commit is contained in:
parent
822212ceda
commit
319f9314e2
2 changed files with 3 additions and 2 deletions
|
|
@ -1514,7 +1514,7 @@
|
|||
"description": "radeonsi/gfx11: add missing DCC_RD_POLICY setting",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "5acff16ce4e191e95c9640cd52d2ab6792225707",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -6392,6 +6392,7 @@ static void gfx10_init_gfx_preamble_state(struct si_context *sctx)
|
|||
(sctx->gfx_level >= GFX11 ?
|
||||
S_028410_DCC_WR_POLICY_GFX11(meta_write_policy) |
|
||||
S_028410_COLOR_WR_POLICY_GFX11(V_028410_CACHE_STREAM) |
|
||||
S_028410_DCC_RD_POLICY(meta_read_policy) |
|
||||
S_028410_COLOR_RD_POLICY(V_028410_CACHE_NOA_GFX11)
|
||||
:
|
||||
S_028410_CMASK_WR_POLICY(meta_write_policy) |
|
||||
|
|
@ -6401,7 +6402,7 @@ static void gfx10_init_gfx_preamble_state(struct si_context *sctx)
|
|||
S_028410_CMASK_RD_POLICY(meta_read_policy) |
|
||||
S_028410_FMASK_RD_POLICY(V_028410_CACHE_NOA_GFX10) |
|
||||
S_028410_COLOR_RD_POLICY(V_028410_CACHE_NOA_GFX10)) |
|
||||
S_028410_DCC_RD_POLICY(meta_read_policy));
|
||||
S_028410_DCC_RD_POLICY(meta_read_policy));
|
||||
si_pm4_set_reg(pm4, R_028708_SPI_SHADER_IDX_FORMAT,
|
||||
S_028708_IDX0_EXPORT_FORMAT(V_028708_SPI_SHADER_1COMP));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue