drm/amdgpu: remove amdgpu_cs_try_evict
authorChristian König <christian.koenig@amd.com>
Fri, 30 Aug 2019 12:42:10 +0000 (14:42 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:38:56 +0000 (17:38 -0500)
commit43ce6bab7b9ea8615b18b4a6c88e9b8a122080e3
treeca6ecf86e1383fdd1f01ae829fafe90b831fe8eb
parent9d1b3c78052e87fbb1beb7912bf5b2d5b19f2c2c
drm/amdgpu: remove amdgpu_cs_try_evict

Trying to evict things from the current working set doesn't work that
well anymore because of per VM BOs.

Rely on reserving VRAM for page tables to avoid contention.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c