]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e1c7cf89276e92f790ec120671f7b21a582f0a1
treeca6ecf86e1383fdd1f01ae829fafe90b831fe8eb
parent76742019b592633599bb8fa3bab415cbb0fea0c5
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