mesa/src
Samuel Pitoiset f14e0d9f09 radv: add radv_hide_rebar_on_dgpu and enable for Red Dead Redemption 2
RDR2 VRAM memory management when resizable BAR is enabled seems
incorrect because it keeps allocating VRAM without freeing anything.

This introduces a drirc option to emulate a fake carveout of 256MiB to
workaround this game bug. This also adjust memory budgets by
distributing it between visible and invisible because AMDGPU reports
the same value for both when REBAR is enabled.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12091
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38627>
2025-11-26 10:12:45 +00:00
..
amd radv: add radv_hide_rebar_on_dgpu and enable for Red Dead Redemption 2 2025-11-26 10:12:45 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
broadcom nir/lower_wrmasks: drop callback 2025-11-26 03:20:39 +00:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler nir/lower_wrmasks: clean up & deprecate pass 2025-11-26 03:20:39 +00:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl egl: Disable kopper on Android 2025-11-25 10:04:51 +00:00
etnaviv ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs 2025-11-24 12:02:40 +00:00
freedreno nir/lower_wrmasks: drop callback 2025-11-26 03:20:39 +00:00
gallium poly: Move vs_grid to poly_vertex_params 2025-11-25 23:20:26 +00:00
gbm mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: codegen: don't generate custom protocols in function table 2025-11-25 09:12:15 -08:00
glx apple_cgl.c: Fix error: call to undeclared function 'os_get_option' 2025-11-20 18:39:19 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: fix cleaning up failed CreateDevice 2025-11-26 08:52:27 +00:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel brw: Combine output stores for TCS outputs even when unlinked 2025-11-25 22:44:03 +00:00
kosmickrisp kk: Handle memory coherency for textures and buffers 2025-11-26 02:26:21 +00:00
loader loader: Wrap nouveau_zink_predicate with HAVE_LIBDRM 2025-11-20 18:39:19 +00:00
mesa nir: rename nir_lower_indirect_derefs -> nir_lower_indirect_derefs_to_if_else_trees 2025-11-20 05:42:11 +00:00
microsoft vulkan: Optionally share one JSON manifest per driver between architectures 2025-11-24 19:05:57 +00:00
nouveau nvk/ci: add broken coop matrix CTS tests to skips 2025-11-25 18:50:19 +00:00
panfrost nir/lower_wrmasks: drop callback 2025-11-26 03:20:39 +00:00
poly poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
tool pps/meson: minor refactor for pps_deps 2025-11-08 18:39:00 -08:00
util radv: add radv_hide_rebar_on_dgpu and enable for Red Dead Redemption 2 2025-11-26 10:12:45 +00:00
virtio vulkan: Optionally share one JSON manifest per driver between architectures 2025-11-24 19:05:57 +00:00
vulkan vulkan/wsi: Handle 0xFFFFFFFF special case in vk_wsi_force_swapchain_to_current_extent driconf 2025-11-25 22:10:38 +00:00
x11 treewide: strip unneeded inc_gallium inc_gallium_aux 2025-11-13 22:01:43 +00:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build kk: Add KosmicKrisp 2025-10-20 17:46:38 +00:00