From 120d0ef937597687a11f74a0393cac9b6a6aa93a Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Fri, 2 Aug 2019 12:06:59 +0200 Subject: radeonsi: reduce DPBB persistent_states_per_bin value for APUs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes some reported GPU hangs on RAVEN. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111231 Reviewed-by: Marek Olšák --- src/gallium/drivers/radeonsi/si_state_binning.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium') 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; -- cgit v1.2.3