mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
radv: fix an assertion with RADV_DEBUG=fullsync on GFX11+
This can only happen with RADV_DEBUG=fullsync which literally flushes all caches, but INV_ICACHE is invalid with RELEASE_MEM apparently. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41396>
This commit is contained in:
parent
470897f946
commit
4dc4012c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ gfx10_cs_emit_cache_flush(struct radv_cmd_stream *cs, enum amd_gfx_level gfx_lev
|
|||
if (cb_db_event) {
|
||||
if (gfx_level >= GFX11) {
|
||||
/* Send an event that flushes caches. */
|
||||
ac_emit_cp_release_mem_pws(cs->b, gfx_level, cs->hw_ip, cb_db_event, gcr_cntl);
|
||||
ac_emit_cp_release_mem_pws(cs->b, gfx_level, cs->hw_ip, cb_db_event, gcr_cntl & C_587_GLI_INV);
|
||||
|
||||
gcr_cntl &= C_587_GLK_WB & C_587_GLK_INV & C_587_GLV_INV & C_587_GL2_INV & C_587_GL2_WB; /* keep SEQ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue