Re: [RFC PATCH v10 0/4] drm/virtio: userptr blobs for native-context compute
From: Dmitry Osipenko
Date: Fri Nov 27 2026 - 09:34:25 EST
Hi,
On 11/25/26 09:41, Huang, Honglei wrote:
On 11/6/2026 4:26 PM, Honglei Huang wrote:
This series adds virtio-gpu userptr support for ROCm native compute
contexts. The guest kernel pins an existing userspace mapping with
FOLL_LONGTERM and exposes it to the host as ordinary CREATE_BLOB
backing entries, avoiding a second shmem allocation and memcpy.
A non-zero userptr field selects that path. Probe
VIRTGPU_PARAM_USERPTR before using the field so an older guest kernel
rejects the request instead of silently creating a shmem blob.
See overall detail in virglrenderer pr [1]
Hi all,
Any review comments on this series? includes code for the kernel, QEMU,
and other components.
Open to any review.
I want to see ack on VIRTIO_GPU_FLAG_BLOB_READONLY_ENABLED and userptr patches from Akihiko before merging since he requested the RO enforcement feature and reviewed userpatch patch.
BTW, you may drop RFC, this is already v10. RFC usually comes before v1.
--
Best regards,
Dmitry