mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radeonsi: disable Smart Access Memory because CPU access has large overhead
It will be remove completely in the next commit.
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8176
Cc: mesa-stable
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
(cherry picked from commit d8b17b1752)
This commit is contained in:
parent
a8ff70af5d
commit
a816d0c7a8
2 changed files with 3 additions and 1 deletions
|
|
@ -940,7 +940,7 @@
|
|||
"description": "radeonsi: disable Smart Access Memory because CPU access has large overhead",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1142,6 +1142,8 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
sscreen->options.enable_sam,
|
||||
sscreen->options.disable_sam);
|
||||
|
||||
sscreen->info.smart_access_memory = false; /* VRAM has slower CPU access */
|
||||
|
||||
if (sscreen->info.gfx_level >= GFX9) {
|
||||
sscreen->se_tile_repeat = 32 * sscreen->info.max_se;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue