]> 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)
commit719f67939326c59ac731c388232cdf811ed97b77
tree09b4a97022ee48c8e412aa9f3187a5517cc7ddf1
parent9bdb5fa582533db337984b342513840c3ce414d4
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