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:
committed by
Alyssa Rosenzweig
parent
12ab3abaac
commit
02169e76dd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user