[PATCH 0/2] Implementation of resource_query_layout

Julia Zhang posted 2 patches 5 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/display/virtio-gpu-base.c                |  4 +++
hw/display/virtio-gpu-virgl.c               | 35 +++++++++++++++++++++
include/hw/virtio/virtio-gpu-bswap.h        |  7 +++++
include/standard-headers/linux/virtio_gpu.h | 29 +++++++++++++++++
meson.build                                 |  4 +++
5 files changed, 79 insertions(+)
[PATCH 0/2] Implementation of resource_query_layout
Posted by Julia Zhang 5 months, 3 weeks ago
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.

Related mesa mr: https:
//gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23896
virglrenderer mr: https:
//gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1268

Daniel Stone (1):
  virgl: Implement resource_query_layout

Julia Zhang (1):
  virgl: Modify resource_query_layout

 hw/display/virtio-gpu-base.c                |  4 +++
 hw/display/virtio-gpu-virgl.c               | 35 +++++++++++++++++++++
 include/hw/virtio/virtio-gpu-bswap.h        |  7 +++++
 include/standard-headers/linux/virtio_gpu.h | 29 +++++++++++++++++
 meson.build                                 |  4 +++
 5 files changed, 79 insertions(+)

-- 
2.34.1