mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
radv: don't emit event code on video queues.
I don't know if these can be done properly, but for now just don't emit the standard cp stuff since it hangs the GPU. "Fixes" dEQP-VK.video.synchronizat* Cc: mesa-stable Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25170>
This commit is contained in:
parent
85192dcfc6
commit
147c17c28c
1 changed files with 6 additions and 0 deletions
|
|
@ -10544,6 +10544,9 @@ write_event(struct radv_cmd_buffer *cmd_buffer, struct radv_event *event, VkPipe
|
|||
struct radeon_cmdbuf *cs = cmd_buffer->cs;
|
||||
uint64_t va = radv_buffer_get_va(event->bo);
|
||||
|
||||
if (cmd_buffer->qf == RADV_QUEUE_VIDEO_DEC)
|
||||
return;
|
||||
|
||||
si_emit_cache_flush(cmd_buffer);
|
||||
|
||||
radv_cs_add_buffer(cmd_buffer->device->ws, cs, event->bo);
|
||||
|
|
@ -10646,6 +10649,9 @@ radv_CmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const Vk
|
|||
RADV_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
struct radeon_cmdbuf *cs = cmd_buffer->cs;
|
||||
|
||||
if (cmd_buffer->qf == RADV_QUEUE_VIDEO_DEC)
|
||||
return;
|
||||
|
||||
for (unsigned i = 0; i < eventCount; ++i) {
|
||||
RADV_FROM_HANDLE(radv_event, event, pEvents[i]);
|
||||
uint64_t va = radv_buffer_get_va(event->bo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue