]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42e2a01b254981a6f1e8080b34ad5fd5b49a8ec4
tree09b4a97022ee48c8e412aa9f3187a5517cc7ddf1
parenteb1ff444c2b03165252a099f79b995e24969b17d
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