On Wed, Jan 07 2026, Honglei Huang <[email protected]> wrote:

> Add support for the USE_USERPTR blob flag in virtio-gpu to enable
> user pointer mapping for blob resources. This allows guest applications
> to use user-allocated memory for GPU resources more efficiently.
>
> Changes include:
> - Add VIRTIO_GPU_BLOB_FLAG_USE_USERPTR flag definition
> - Enhance blob resource creation to handle userptr flag properly
> - Remove arbitrary nr_entries limit (16384) in mapping creation
> - Add conditional handling for userptr vs regular blob mapping
> - Support guest_blob_mapped parameter for virgl renderer
> - Fix value check issue in virtio-gpu
>
> This enables more flexible memory management between guest and host
> for GPU virtualization scenarios.
>
> Signed-off-by: Honglei Huang <[email protected]>
> ---
>  hw/display/virtio-gpu.c                     | 7 -------
>  include/standard-headers/linux/virtio_gpu.h | 1 +
>  2 files changed, 1 insertion(+), 7 deletions(-)

Please split out any updates to the imported Linux headers into a
separate patch to be replaced by a headers sync (I thought checkpatch
would warn about that?)


Reply via email to