mesa/src/virtio
Yiwei Zhang 1a302155ee venus: force prime blit on Nvidia GPU
Normally Venus on Nvidia GPUs takes the prime blit path. The exception
is when KWin or any wlroots based compositors are used:
1. KWin and wlroots based compositors always add LINEAR to dmabuf
   feedback tranches assuming LINEAR can be handled by GPU drivers.
2. Venus + Virgl only sees the compositor injected LINEAR mod since
   Virgl doesn't support explicit modifiers on the driver side.
3. Nvidia GPUs doesn't support LINEAR color attachment, and it's too
   late to reject LINEAR mod when the native image path has already
   been taken instead of the prime image path.

Gamescope requires VK_EXT_physical_device_drm and its runtime doesn't
use standard WSI extensions, so venus can spoof without impacting it.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40339>
2026-03-12 20:03:19 +00:00
..
ci ci/venus: update expectation based on nightly job runs 2026-03-12 18:19:47 +00:00
protocols meson: add rust_global_args for flags for all the rust compilations 2025-12-20 00:13:19 +01:00
vdrm treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
venus-protocol venus: sync protocol for strict aliasing compliance 2026-02-20 06:00:46 +00:00
virtgpu_kumquat virtgpu_kumquat: cleanup derelict allow(dead_code) & allow(unused) annotations 2026-01-05 17:01:37 +00:00
virtgpu_kumquat_ffi virtio/kumquat: add safety comments 2026-02-23 17:20:10 +00:00
virtio-gpu intel: Add virtio-gpu native context 2026-02-06 00:15:37 +00:00
vtest virtio/vdrm: Add vtest backend 2025-04-08 15:38:39 +00:00
vulkan venus: force prime blit on Nvidia GPU 2026-03-12 20:03:19 +00:00