Discussion of the VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-comment] [RFC PATCH 0/2] Blob resources + host visible memory
@ 2020-04-22  0:55 Gurchetan Singh
  2020-04-22  0:55 ` [virtio-comment] [PATCH 1/2] virtio-gpu: add resource create blob Gurchetan Singh
  2020-04-22  0:55 ` [virtio-comment] [PATCH 2/2] virtio-gpu: add support for mapping/unmapping blob resources Gurchetan Singh
  0 siblings, 2 replies; 14+ messages in thread
From: Gurchetan Singh @ 2020-04-22  0:55 UTC (permalink / raw)
  To: virtio-comment; +Cc: kraxel, olvaffe, marcheu

Dear all,

I'm excited to share with you an exciting development in the field
of virtualized graphics: blob resources. Blob resources represent
the evolution of virtio-gpu from the OpenGL resource model to the
VK resource model. Details are in the spec.

Proof of concept kernel[1] and virglrenderer[2] implementations exist,
so it's a good time to formalize the spec, so we can parallelize the
efforts.

Enumerations follow the current virtio-gpu trend and start at 1, where
0 is an invalid value.

Blob resources were developed in collaboration by Gerd Hoffman,
Chia-I-Wu and Gurchetan Singh.

Open questions:
   - TRANSFER_BLOB along with reusing previously hypercalls for
     convenience?
   - Anything else people want?

Possible required changes:
   - Refactoring Pixman dependency in QEMU for blob resources in
     2D hosts?

Possible future work:
   - Emulated coherent `blob_mem` type for QEMU/vhost-user
   - A `blob_mem` type for guest-only resources imported in
     cache-coherent FOSS GPU/display drivers using udmabuf-like
     mechanisms.
   - Display integration involving the blob model.

These spec patches are based on David Steven's UUID patches (hopefully
those will land soon?).

[1] https://gitlab.freedesktop.org/virgl/drm-misc-next/-/commits/resource-blob
[2] https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/374

Gurchetan Singh (2):
  virtio-gpu: add resource create blob
  virtio-gpu: add support for mapping/unmapping blob resources

 virtio-gpu.tex | 172 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 168 insertions(+), 4 deletions(-)

-- 
2.24.1


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [virtio-comment] [PATCH 0/2] Blob resources v5
@ 2020-08-14  1:54 Gurchetan Singh
  2020-08-14  1:54 ` [virtio-comment] [PATCH 1/2] virtio-gpu: add resource create blob Gurchetan Singh
  0 siblings, 1 reply; 14+ messages in thread
From: Gurchetan Singh @ 2020-08-14  1:54 UTC (permalink / raw)
  To: virtio-comment; +Cc: kraxel

New additions to the blob spec.  This is to preserve the possibility
of a swapper in the kernel.  Based on UUID the patches.

This doesn't require ATTACH_BACKING / DETACH_BACKING since we're probably
not going to swap-in/swap-out zero-copy guest memory (especially if comes
from a guest dedicated heap, which is best for 3D/video apps) in the
event we do write a swapper.

Implementation should be on virtio-dev/dri-devel shortly.

Gurchetan Singh (2):
  virtio-gpu: add resource create blob
  virtio-gpu: add support for mapping/unmapping blob resources

 virtio-gpu.tex | 169 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 165 insertions(+), 4 deletions(-)

-- 
2.24.1


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [virtio-comment] [PATCH 0/2] Blob resources v6
@ 2020-09-02 20:58 Gurchetan Singh
  2020-09-02 20:58 ` [virtio-comment] [PATCH 1/2] virtio-gpu: add resource create blob Gurchetan Singh
  0 siblings, 1 reply; 14+ messages in thread
From: Gurchetan Singh @ 2020-09-02 20:58 UTC (permalink / raw)
  To: virtio-comment

Latest blob series with clarification around mutliple mappings.  Will
create Github merge request after a few days, now that
RESOURCE_ASSIGN_UUID has landed in the spec (thanks mst@!).

Gurchetan Singh (2):
  virtio-gpu: add resource create blob
  virtio-gpu: add support for mapping/unmapping blob resources

 virtio-gpu.tex | 171 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 167 insertions(+), 4 deletions(-)

-- 
2.26.2


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-09-02 20:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22  0:55 [virtio-comment] [RFC PATCH 0/2] Blob resources + host visible memory Gurchetan Singh
2020-04-22  0:55 ` [virtio-comment] [PATCH 1/2] virtio-gpu: add resource create blob Gurchetan Singh
2020-04-28 10:29   ` [virtio-comment] " Gerd Hoffmann
2020-04-29  0:44     ` Gurchetan Singh
2020-04-29  9:28       ` Gerd Hoffmann
2020-04-30  0:56         ` Chia-I Wu
2020-05-05 23:26         ` Gurchetan Singh
2020-05-06  7:14           ` Gerd Hoffmann
2020-05-07 23:35             ` Gurchetan Singh
2020-05-04 14:38   ` [virtio-comment] " Michael S. Tsirkin
2020-04-22  0:55 ` [virtio-comment] [PATCH 2/2] virtio-gpu: add support for mapping/unmapping blob resources Gurchetan Singh
2020-04-28 10:33   ` [virtio-comment] " Gerd Hoffmann
  -- strict thread matches above, loose matches on Subject: below --
2020-08-14  1:54 [virtio-comment] [PATCH 0/2] Blob resources v5 Gurchetan Singh
2020-08-14  1:54 ` [virtio-comment] [PATCH 1/2] virtio-gpu: add resource create blob Gurchetan Singh
2020-09-02 20:58 [virtio-comment] [PATCH 0/2] Blob resources v6 Gurchetan Singh
2020-09-02 20:58 ` [virtio-comment] [PATCH 1/2] virtio-gpu: add resource create blob Gurchetan Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox