drm/amdgpu: Avoid setting off KFD eviction fences in amdgpu_vm
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 7 Feb 2019 17:08:14 +0000 (12:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Feb 2019 22:50:47 +0000 (17:50 -0500)
commit8db588d5d35e6ab0f8fa404c0d3eade6bbd272bc
tree09b4a97022ee48c8e412aa9f3187a5517cc7ddf1
parentc60cd590cb7da0d7dbb423727bb67350182a371c
drm/amdgpu: Avoid setting off KFD eviction fences in amdgpu_vm

Use FENCE_OWNER_KFD to synchronize PT/PD initialization and clearing
of page table entries. This avoids triggering KFD eviction fences on
the PD reservation objects of compute VMs.

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_vm.c