mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
radv,radeonsi: fix emitting UPDATE_DB_SUMMARIZER_TIMEOUT on GFX12
Not all PFP firmwares for GFX12 have this packet.
Fixes: 47f5d25f93 ("radv,radeonsi: emit UPDATE_DB_SUMMARIZER_TIMEOUT on GFX12")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13312
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35370>
This commit is contained in:
parent
c72987350b
commit
babeb975c4
2 changed files with 2 additions and 2 deletions
|
|
@ -701,7 +701,7 @@ radv_emit_ge_rings(struct radv_device *device, struct radeon_cmdbuf *cs, struct
|
||||||
S_0309AC_PAB_TEMPORAL(gfx12_load_last_use_discard) | S_0309AC_SPEC_DATA_READ(gfx12_spec_read_auto) |
|
S_0309AC_PAB_TEMPORAL(gfx12_load_last_use_discard) | S_0309AC_SPEC_DATA_READ(gfx12_spec_read_auto) |
|
||||||
S_0309AC_FORCE_SE_SCOPE(1) | S_0309AC_PAB_NOFILL(1)); /* R_0309AC_GE_PRIM_RING_SIZE */
|
S_0309AC_FORCE_SE_SCOPE(1) | S_0309AC_PAB_NOFILL(1)); /* R_0309AC_GE_PRIM_RING_SIZE */
|
||||||
|
|
||||||
if (pdev->info.gfx_level == GFX12) {
|
if (pdev->info.gfx_level == GFX12 && pdev->info.pfp_fw_version >= 2680) {
|
||||||
/* Mitigate the HiZ GPU hang by increasing a timeout when BOTTOM_OF_PIPE_TS is used as the
|
/* Mitigate the HiZ GPU hang by increasing a timeout when BOTTOM_OF_PIPE_TS is used as the
|
||||||
* workaround. This must be emitted when the gfx queue is idle.
|
* workaround. This must be emitted when the gfx queue is idle.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -5161,7 +5161,7 @@ static void si_emit_spi_ge_ring_state(struct si_context *sctx, unsigned index)
|
||||||
S_0309AC_FORCE_SE_SCOPE(1) |
|
S_0309AC_FORCE_SE_SCOPE(1) |
|
||||||
S_0309AC_PAB_NOFILL(1)); /* R_0309AC_GE_PRIM_RING_SIZE */
|
S_0309AC_PAB_NOFILL(1)); /* R_0309AC_GE_PRIM_RING_SIZE */
|
||||||
|
|
||||||
if (sctx->gfx_level == GFX12) {
|
if (sctx->gfx_level == GFX12 && sscreen->info.pfp_fw_version >= 2680) {
|
||||||
/* Mitigate the HiZ GPU hang by increasing a timeout when
|
/* Mitigate the HiZ GPU hang by increasing a timeout when
|
||||||
* BOTTOM_OF_PIPE_TS is used as the workaround. This must be
|
* BOTTOM_OF_PIPE_TS is used as the workaround. This must be
|
||||||
* emitted when the gfx queue is idle.
|
* emitted when the gfx queue is idle.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue