mesa/src/virtio
Dmitry Osipenko bd8377bb04 virtio/vdrm: Fix varying offsets of struct vdrm_device members
Struct virgl_renderer_capset_drm has a varying size depending on whether
AMDGPU driver is enabled or not. This breaks offset of struct vdrm_device
members for non-AMD drivers when Mesa is built with multiple native context
drivers including the AMD driver. Place varying capsets in the end struct
vdrm_device to mitigate the issue.

Fixes: 5736280730 ("virtio/vdrm: add ENABLE_DRM_AMDGPU for c_args")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38096>
2025-10-29 19:14:25 +00:00
..
ci venus/ci: Skip slow test on ANV with Cuttlefish 2025-10-27 15:50:15 +01:00
protocols mesa: import mesa3d_protocols 2025-06-17 22:28:54 +00:00
vdrm virtio/vdrm: Fix varying offsets of struct vdrm_device members 2025-10-29 19:14:25 +00:00
venus-protocol venus: sync latest protocol 2025-03-27 00:52:17 +00:00
virtgpu_kumquat virtio: kumquat: slice length fix 2025-10-20 15:45:06 +00:00
virtgpu_kumquat_ffi clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
virtio-gpu gfxstream: hide vkTraceAsyncGOOGLE behind new capset flag 2025-09-16 23:26:27 +00:00
vtest virtio/vdrm: Add vtest backend 2025-04-08 15:38:39 +00:00
vulkan venus: enable sparse only queue family along with feedback 2025-10-25 00:02:59 +00:00