> Add DRM ioctl flags and a userptr address field so userspace can
> request a blob backed by an existing process mapping.
> 
> UAPI changes:
> - Add guest-only VIRTGPU_BLOB_FLAG_USE_USERPTR and
>   VIRTGPU_BLOB_FLAG_USERPTR_RDONLY flags
> - Add a userptr field to drm_virtgpu_resource_create_blob
> 
> These flags select guest pin behavior in the ioctl. They are not
> part of the virtio CREATE_BLOB wire ABI, so mask them out in
> virtio_gpu_cmd_resource_create_blob().
> 
> Signed-off-by: Honglei Huang <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=2

Reply via email to