mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
radv: Only call si_cp_dma_wait_for_idle on GFX and ACE queues.
This command is only supported on GFX and ACE. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25770>
This commit is contained in:
parent
614bb47cbf
commit
cd41d9e96d
1 changed files with 4 additions and 5 deletions
|
|
@ -6232,13 +6232,12 @@ radv_EndCommandBuffer(VkCommandBuffer commandBuffer)
|
|||
}
|
||||
|
||||
si_emit_cache_flush(cmd_buffer);
|
||||
}
|
||||
|
||||
/* Make sure CP DMA is idle at the end of IBs because the kernel
|
||||
* doesn't wait for it.
|
||||
*/
|
||||
if (cmd_buffer->qf != RADV_QUEUE_VIDEO_DEC)
|
||||
/* Make sure CP DMA is idle at the end of IBs because the kernel
|
||||
* doesn't wait for it.
|
||||
*/
|
||||
si_cp_dma_wait_for_idle(cmd_buffer);
|
||||
}
|
||||
|
||||
radv_describe_end_cmd_buffer(cmd_buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue