]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Simplify eviction fence handling
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 4 Feb 2019 23:17:26 +0000 (18:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Feb 2019 22:50:54 +0000 (17:50 -0500)
commitf68b535c2d1ecc925ec8bab1ab9e3032a6af440f
treedabf25fe0ac5040a0e6ebc99a538c2775b66d2ac
parent42e2a01b254981a6f1e8080b34ad5fd5b49a8ec4
drm/amdgpu: Simplify eviction fence handling

Temporarily removing eviction fences to avoid triggering them by
accident is no longer necessary due to the fence_owner logic in
amdgpu_sync_resv.

As a result the ef_list usage of amdgpu_amdkfd_remove_eviction_fence
and amdgpu_amdkfd_add_eviction_fence are no longer needed.

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