radv/video: don't try and send events on UVD devices.
This should fix some hangs on polaris when decode is forced on.
Fixes: 95a980b61f ("radv/video: add event support for VCN4")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34013>
This commit is contained in:
@@ -121,6 +121,10 @@ radv_vcn_write_event(struct radv_cmd_buffer *cmd_buffer, struct radv_event *even
|
||||
struct rvcn_sq_var sq;
|
||||
struct radeon_cmdbuf *cs = cmd_buffer->cs;
|
||||
|
||||
/* UVD doesn't support events, and probably never will */
|
||||
if (pdev->vid_decode_ip == AMD_IP_UVD)
|
||||
return;
|
||||
|
||||
radv_cs_add_buffer(device->ws, cs, event->bo);
|
||||
uint64_t va = radv_buffer_get_va(event->bo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user