summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-08-02 12:06:59 +0200
committerMarek Olšák <[email protected]>2019-08-07 18:45:22 -0400
commit120d0ef937597687a11f74a0393cac9b6a6aa93a (patch)
treeae444e1f6ce5b9d81666aefe708183d5770dfd12 /src/gallium
parent6bda9ca062748f61ff0ab57e4d68aae5cf98308a (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_binning.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_binning.c b/src/gallium/drivers/radeonsi/si_state_binning.c
index 731950cd605..157a38f88a0 100644
--- a/src/gallium/drivers/radeonsi/si_state_binning.c
+++ b/src/gallium/drivers/radeonsi/si_state_binning.c
@@ -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;