mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radeonsi: limit DPBB context_states_per_bin batches when using gfx9 workaround
It seems that using 'context_states_per_bin = 1' for DPBB fixes the reported issue. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110214 Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
120d0ef937
commit
519bebdb40
1 changed files with 5 additions and 1 deletions
|
|
@ -563,7 +563,11 @@ void si_emit_dpbb_state(struct si_context *sctx)
|
|||
context_states_per_bin = 1;
|
||||
persistent_states_per_bin = 1;
|
||||
} else {
|
||||
context_states_per_bin = 6;
|
||||
/* This is a workaround for:
|
||||
* https://bugs.freedesktop.org/show_bug.cgi?id=110214
|
||||
* (an alternative is to insert manual BATCH_BREAK event when
|
||||
* a context_roll is detected). */
|
||||
context_states_per_bin = sctx->screen->has_gfx9_scissor_bug ? 1 : 6;
|
||||
/* Using 32 here can cause GPU hangs on RAVEN1 */
|
||||
persistent_states_per_bin = 16;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue