OSDN Git Service

drm/amdgpu: move VM eviction decision into amdgpu_vm.c
authorChristian König <christian.koenig@amd.com>
Thu, 28 Nov 2019 13:51:46 +0000 (14:51 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Dec 2019 22:01:51 +0000 (17:01 -0500)
commit6ceeb144b1d6952a36afa6c29718beac575f2a3f
tree982a38c4a52076293335c68e4a2bd12c93400772
parent4b4c5638c08d6be3fc4380bda23aa46bbd158073
drm/amdgpu: move VM eviction decision into amdgpu_vm.c

When a page tables needs to be evicted the VM code should
decide if that is possible or not.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h