From: Bas Nieuwenhuizen Date: Thu, 8 Aug 2019 00:24:58 +0000 (+0200) Subject: radv: Avoid binning RAVEN hangs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a3f987afda6469f274485e9f8b4ecc2308ad815;p=mesa.git radv: Avoid binning RAVEN hangs. Mirroring radeonsi. CC: Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 86f0dc11089..e82c9b3cc50 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -3178,7 +3178,8 @@ radv_pipeline_generate_binning_state(struct radeon_cmdbuf *ctx_cs, fpovs_per_batch = 63; } else { context_states_per_bin = 6; - persistent_states_per_bin = 32; + /* 32 causes hangs for RAVEN. */ + persistent_states_per_bin = 16; fpovs_per_batch = 63; }