drm/amdgpu: Replace ttm_bo_wait with amdgpu_bo_sync_wait
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 4 Feb 2019 22:53:05 +0000 (17:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Feb 2019 22:50:39 +0000 (17:50 -0500)
commitc60cd590cb7da0d7dbb423727bb67350182a371c
tree4e43ece34c5ed33640bc2e406ad1e972bace40c0
parente8e32426b1271d3387208c3a6eaf7c166bea9975
drm/amdgpu: Replace ttm_bo_wait with amdgpu_bo_sync_wait

The fence_owner logic in amdgpu_sync_wait will allow waiting without
having to temporarily remove eviction fences.

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