radeonsi: properly report unified memory on APUs

This helps rusticl to properly advertise available global memory on APUs.

Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit 97ca375f51)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40979>
This commit is contained in:
Karol Herbst 2026-03-24 03:07:22 +01:00 committed by Eric Engestrom
parent 573d326bc2
commit 6fa9e9b757
2 changed files with 2 additions and 2 deletions

View file

@ -984,7 +984,7 @@
"description": "radeonsi: properly report unified memory on APUs",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -1289,7 +1289,7 @@ void si_init_screen_caps(struct si_screen *sscreen)
caps->max_texture_mb = sscreen->info.max_heap_size_kb / 1024 / 4;
caps->prefer_back_buffer_reuse = false;
caps->uma = false;
caps->uma = !sscreen->info.has_dedicated_vram;
caps->prefer_imm_arrays_as_constbuf = false;
caps->performance_monitor =