mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-07 22:50:43 +01:00
winsys/amdgpu: disable local BOs again due to worse performance
Cc: 17.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
8a821fa91c
commit
bf0904e31f
1 changed files with 3 additions and 2 deletions
|
|
@ -418,9 +418,10 @@ static struct amdgpu_winsys_bo *amdgpu_create_bo(struct amdgpu_winsys *ws,
|
|||
request.flags |= AMDGPU_GEM_CREATE_NO_CPU_ACCESS;
|
||||
if (flags & RADEON_FLAG_GTT_WC)
|
||||
request.flags |= AMDGPU_GEM_CREATE_CPU_GTT_USWC;
|
||||
if (flags & RADEON_FLAG_NO_INTERPROCESS_SHARING &&
|
||||
/* TODO: Enable this once the kernel handles it efficiently. */
|
||||
/*if (flags & RADEON_FLAG_NO_INTERPROCESS_SHARING &&
|
||||
ws->info.drm_minor >= 20)
|
||||
request.flags |= AMDGPU_GEM_CREATE_VM_ALWAYS_VALID;
|
||||
request.flags |= AMDGPU_GEM_CREATE_VM_ALWAYS_VALID;*/
|
||||
|
||||
r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle);
|
||||
if (r) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue