qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Implementation of resource_query_layout
@ 2023-11-10  7:40 Julia Zhang
  2023-11-10  7:40 ` [PATCH 1/2] virgl: Implement resource_query_layout Julia Zhang
  2023-11-10  7:40 ` [PATCH 2/2] virgl: Modify resource_query_layout Julia Zhang
  0 siblings, 2 replies; 3+ messages in thread
From: Julia Zhang @ 2023-11-10  7:40 UTC (permalink / raw)
  To: Gerd Hoffmann, Michael S . Tsirkin, Stefano Stabellini,
	Anthony PERARD, Antonio Caggiano, Dr . David Alan Gilbert,
	Robert Beckett, qemu-devel
  Cc: xen-devel, Alex Deucher, Christian König, Xenia Ragiadakou,
	Honglei Huang, Julia Zhang, Chen Jiqian

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



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

end of thread, other threads:[~2023-11-10 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10  7:40 [PATCH 0/2] Implementation of resource_query_layout Julia Zhang
2023-11-10  7:40 ` [PATCH 1/2] virgl: Implement resource_query_layout Julia Zhang
2023-11-10  7:40 ` [PATCH 2/2] virgl: Modify resource_query_layout Julia Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).