virtio-gpu-rutabaga: make sure ctx_ids match
PATCH 1/1 virtio-gpu-rutabaga: make sure ctx_ids match
The ctx_ids need to match as well as the ring ids for proper signaling.
v2: add r-b tags
Fixes 1dcc6adbc168 ("gfxstream + rutabaga: add initial support for gfxstream")
Signed-off-by Gurchetan Singh <[email protected]>
Reviewed-by Marc-André Lureau <[email protected]>
--- hw/display/virtio-gpu-rutabaga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hw/display/virtio-gpu-rutabaga.c +2 -1
@@ -902,7 +902,8 @@ virtio_gpu_rutabaga_aio_cb(void *opaque) }if (signaled_ctx_specific && - (cmd->cmd_hdr.ring_idx != fence_data.ring_idx)) { + ((cmd->cmd_hdr.ctx_id != fence_data.ctx_id) || + (cmd->cmd_hdr.ring_idx != fence_data.ring_idx))) {continue ; }
Signature · 1 line
2.55.0