All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Honglei Huang <honghuan@amd.com>,
	alex.bennee@linaro.org, dmitry.osipenko@collabora.com,
	odaki@rsg.ci.i.u-tokyo.ac.jp, Ray.Huang@amd.com
Cc: mst@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org,
	honghuan@amd.com
Subject: Re: [PATCH RFC v4 1/3] virtio-gpu: Add support for VIRTIO_GPU_BLOB_FLAG_USE_USERPTR flag
Date: Wed, 07 Jan 2026 10:42:33 +0100	[thread overview]
Message-ID: <87tswxahdi.fsf@redhat.com> (raw)
In-Reply-To: <20260107075030.3453924-2-honghuan@amd.com>

On Wed, Jan 07 2026, Honglei Huang <honghuan@amd.com> 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 <honghuan@amd.com>
> ---
>  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	other threads:[~2026-01-07  9:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-07  7:50 [PATCH RFC v4 0/3] virtio-gpu: Add user pointer and ROCm support enhancements Honglei Huang
2026-01-07  7:50 ` [PATCH RFC v4 1/3] virtio-gpu: Add support for VIRTIO_GPU_BLOB_FLAG_USE_USERPTR flag Honglei Huang
2026-01-07  9:42   ` Cornelia Huck [this message]
2026-01-08 13:00     ` Honglei Huang
2026-01-07  7:50 ` [PATCH RFC v4 2/3] virtio-gpu: Add VIRTIO_GPU_F_RESOURCE_USERPTR feature support Honglei Huang
2026-01-07  7:50 ` [PATCH RFC v4 3/3] virtio-gpu: Add ROCm capability support Honglei Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tswxahdi.fsf@redhat.com \
    --to=cohuck@redhat.com \
    --cc=Ray.Huang@amd.com \
    --cc=alex.bennee@linaro.org \
    --cc=dmitry.osipenko@collabora.com \
    --cc=honghuan@amd.com \
    --cc=mst@redhat.com \
    --cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.