mesa/src
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
..
amd radv/meta: remove redundant cache flushes when copying VRS rates to HTILE 2026-03-12 18:38:21 +00:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi agx: use common code vote lowering 2026-02-25 17:29:29 +00:00
broadcom v3dv: Enable VK_KHR_robustness2 2026-03-12 19:14:24 +00:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler nir: Handle format swizzles for OOB image loads 2026-03-12 19:14:24 +00:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
etnaviv etnaviv/ci: Switch CI-tron to gfx-ci/linux kernel 2026-03-09 17:42:03 +00:00
freedreno freedreno/fdl: Use 4k alignment for tiled 2026-03-12 14:50:11 +00:00
gallium virgl: set DRM_RDWR for exported dma-bufs (non-blob) 2026-03-12 19:48:47 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: Fix StagingInfo destruction ordering 2026-03-04 23:45:40 +00:00
glx glx: guard glx_screen frontend_screen member 2026-03-10 01:53:15 +00:00
gtest
imagination nir: merge xfb and xfb2 into one 64bit intrinsic index 2026-03-10 07:46:22 +00:00
imgui
intel hasvk: Stop advertising blockTexelViewCompatibleMultipleLayers 2026-03-12 18:59:44 +00:00
kosmickrisp kk: Set command buffer state to 0 when reset 2026-03-09 13:37:09 +00:00
loader util,loader: silence asprintf() unused result warnings 2026-02-07 10:07:22 +00:00
mesa glsl: add workaround for MDK2 HD 2026-03-05 13:09:29 +00:00
microsoft ci: Bump DirectX-Headers and Agility SDK dependencies to v1.619.1 2026-03-10 15:06:44 +00:00
nouveau nir, nvk, nak: Add base to isbewr_nv and isberd_nv 2026-03-11 19:41:34 +00:00
panfrost panvk: Implement VK_EXT_memory_budget support 2026-03-11 08:36:05 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util driconf: force_vk_vendor on No Man's Sky + NVK 2026-03-07 15:55:08 +00:00
virtio venus: force prime blit on Nvidia GPU 2026-03-12 20:03:19 +00:00
vulkan wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
x11 x11: Add helper util to check for xshm support 2026-03-06 01:18:53 +00:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00