Virglrender got a new unstable API that allows mapping host blobs at a given memory address using MAP_FIXED mmap flag [1]. Usage of this new API brings major performance and stability improvement for venus and drm native contexts, see commit message of the RFC patch for details.
Sending early to collect review feeback and have patch prepared by the time new version of libvirglrenderer will be released with the stabilized API. [1] https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1374 Based-on: [email protected] Dmitry Osipenko (1): virtio-gpu: Support mapping hostmem blobs with map_fixed hw/display/virtio-gpu-gl.c | 37 +++++++++++++++++ hw/display/virtio-gpu-virgl.c | 72 +++++++++++++++++++++++++++++++++- include/hw/virtio/virtio-gpu.h | 3 ++ 3 files changed, 110 insertions(+), 2 deletions(-) -- 2.51.1
