← Prev in month
← Prev in thread
Next in thread →
Next in month →
[RFC PATCH 0/2] Blob resources + host visible memory
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
← Prev in month
← Prev in thread
Next in thread →
Next in month →