mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
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:
parent
308f56ef82
commit
2e3b23539e
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue