mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
winsys/amdgpu: disable VM_ALWAYS_VALID
The referenced commit has been identified as the root cause of
graphic artifacts / hangs on some APUs.
For now disable AMDGPU_GEM_CREATE_VM_ALWAYS_VALID on all chips
except when user queues are used.
See https://gitlab.freedesktop.org/mesa/mesa/-/issues/12809.
Fixes: 8c91624614 ("winsys/amdgpu: use VM_ALWAYS_VALID for all VRAM and GTT allocations")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34547>
This commit is contained in:
parent
3f7345a0ce
commit
555821ff93
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ static bool do_winsys_init(struct amdgpu_winsys *aws,
|
|||
simple_mtx_init(&aws->queues[i].userq.lock, mtx_plain);
|
||||
|
||||
/* TODO: Enable this once the kernel handles it efficiently. */
|
||||
if (aws->info.has_dedicated_vram && !aws->info.use_userq)
|
||||
if (!aws->info.use_userq)
|
||||
aws->info.has_local_buffers = false;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue