Commit 2bdb54bc authored by Marek Olšák's avatar Marek Olšák
Browse files

radeonsi: add a workaround for GFX9 hang with init_config alignment

Fixes: 75c5d25f "radeonsi: align command buffer starting address to fix some Raven hangs"
Cc: 17.3 18.0 <>
parent e99212e9
......@@ -166,10 +166,11 @@ void si_pm4_upload_indirect_buffer(struct si_context *sctx,
assert(aligned_ndw <= SI_PM4_MAX_DW);
r600_resource_reference(&state->indirect_buffer, NULL);
/* TODO: this hangs with 1024 or higher alignment on GFX9. */
state->indirect_buffer = (struct r600_resource*)
si_aligned_buffer_create(screen, 0,
PIPE_USAGE_DEFAULT, aligned_ndw * 4,
if (!state->indirect_buffer)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment