Implementation of resource_query_layout
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/21 patch 1 replyIn review
- v2 posting 1/21 patch 5 repliesSuperseded
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
-Squash two patches to a single patch.
-A small modification of VIRTIO_GPU_F_RESOURCE_QUERY_LAYOUT
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | virgl: Implement resource_query_layouthw/ hw/ include/ +2 more | +85 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/1] Implementation of resource_query_layout
Hi all,
Sorry to late reply. This is v2 of the implementation of resource_query_layout. This adds a new ioctl to let guest query information of host resource, which is originally from Daniel Stone. We add some changes to support query the correct stride of host resource before it's created, which is to support dGPU prime feature. Without correct stride, dGPU can not blit data to virtio iGPU correctly.
Changes from v1 to v2:
-Squash two patches to a single patch.
-A small modification of VIRTIO_GPU_F_RESOURCE_QUERY_LAYOUT
Below is description of v1:
This add implementation of resource_query_layout to get the information of how the host has actually allocated the buffer. This function is now used to query the stride for guest linear resource for dGPU prime on guest VMs.
v1 of qemu side:
https:
//lore.kernel.org/qemu-devel/[email protected]/T/#t
v1 of kernel side:
https:
//lore.kernel.org/xen-devel/[email protected]/T/#t
Daniel Stone (1):
virgl: Implement resource_query_layout
hw/display/virtio-gpu-base.c | 4 +++ hw/display/virtio-gpu-virgl.c | 40 +++++++++++++++++++++ include/hw/virtio/virtio-gpu-bswap.h | 7 ++++ include/standard-headers/linux/virtio_gpu.h | 30 ++++++++++++++++ meson.build | 4 +++ 5 files changed, 85 insertions(+)
Signature · 1 line
2.34.1