ydrm/amdgpu: always allow evicting to SYSTEM domain
authorChristian König <christian.koenig@amd.com>
Tue, 22 Jun 2021 16:23:36 +0000 (12:23 -0400)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 23 Jun 2021 18:59:39 +0000 (14:59 -0400)
commit9a22149e9561e71583a48cc8d6d325958243d3ca
tree0da4a356c15e8e168ab0c059296fa4700b0f7be2
parent3e640f1bb893610378858c2e47c99dc019dfc9e9
ydrm/amdgpu: always allow evicting to SYSTEM domain

When we run out of GTT we should still be able to evict VRAM->SYSTEM
with a bounce bufferdrm/amdgpu: always allow evicting to SYSTEM domain

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210622162339.761651-3-andrey.grodzovsky@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c