agx: Fix queue destroy op for virtgpu

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31908>
This commit is contained in:
Asahi Lina
2024-10-27 03:35:49 +09:00
committed by Alyssa Rosenzweig
parent 12ab3abaac
commit 02169e76dd
+2 -1
View File
@@ -636,7 +636,8 @@ agx_destroy_command_queue(struct agx_device *dev, uint32_t queue_id)
.queue_id = queue_id,
};
return drmIoctl(dev->fd, DRM_IOCTL_ASAHI_QUEUE_DESTROY, &queue_destroy);
return asahi_simple_ioctl(dev, DRM_IOCTL_ASAHI_QUEUE_DESTROY,
&queue_destroy);
}
int