mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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:
parent
573d326bc2
commit
6fa9e9b757
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue