OSDN Git Service

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)
commit2d086fded1021d6b482dfc705bab8f085d10a496
treedabf25fe0ac5040a0e6ebc99a538c2775b66d2ac
parent8db588d5d35e6ab0f8fa404c0d3eade6bbd272bc
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