aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-08-08 02:24:58 +0200
committerBas Nieuwenhuizen <[email protected]>2019-08-08 14:08:21 +0200
commit4a3f987afda6469f274485e9f8b4ecc2308ad815 (patch)
tree2ad2ca6ae08031789284b2fe48d1dc1ddae35d91 /src/amd/vulkan
parent66ecc3eac8213dc8402e8dc645117f84f530181f (diff)
radv: Avoid binning RAVEN hangs.
Mirroring radeonsi. CC: <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_pipeline.c3
1 files changed, 2 insertions, 1 deletions
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;
}