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>
}
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);