mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
radv: don't emit cp dma packets on video rings.
Only emit this on the gfx/ace rings.
Fixes hangs with CTS on video decode with navi3x.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26945>
(cherry picked from commit 71bd479a7f)
This commit is contained in:
parent
7c9e93fe8c
commit
b570eb6043
2 changed files with 5 additions and 2 deletions
|
|
@ -74,7 +74,7 @@
|
|||
"description": "radv: don't emit cp dma packets on video rings.",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -10610,7 +10610,10 @@ radv_barrier(struct radv_cmd_buffer *cmd_buffer, const VkDependencyInfo *dep_inf
|
|||
}
|
||||
|
||||
radv_gang_barrier(cmd_buffer, 0, dst_stage_mask);
|
||||
radv_cp_dma_wait_for_stages(cmd_buffer, src_stage_mask);
|
||||
|
||||
const bool is_gfx_or_ace = cmd_buffer->qf == RADV_QUEUE_GENERAL || cmd_buffer->qf == RADV_QUEUE_COMPUTE;
|
||||
if (is_gfx_or_ace)
|
||||
radv_cp_dma_wait_for_stages(cmd_buffer, src_stage_mask);
|
||||
|
||||
cmd_buffer->state.flush_bits |= dst_flush_bits;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue