radeonsi: reduce DPBB persistent_states_per_bin value for APUs

Fixes some reported GPU hangs on RAVEN.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111231

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2019-08-02 12:06:59 +02:00 committed by Marek Olšák
parent 6bda9ca062
commit 120d0ef937
1 changed files with 2 additions and 1 deletions

View File

@ -564,7 +564,8 @@ void si_emit_dpbb_state(struct si_context *sctx)
persistent_states_per_bin = 1;
} else {
context_states_per_bin = 6;
persistent_states_per_bin = 32;
/* Using 32 here can cause GPU hangs on RAVEN1 */
persistent_states_per_bin = 16;
}
fpovs_per_batch = 63;