OSDN Git Service

drm/amdgpu: Use FENCE_OWNER_KFD in process_sync_pds_resv
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 7 Jun 2019 15:33:21 +0000 (11:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jul 2019 19:31:51 +0000 (14:31 -0500)
commite7e2505326496c140db26c797fafea48a492b8c2
treee211450c74012576612f419d3c244ab4e0f73c8c
parent819ec5acf7593bfb84063d1b3890e80b30e1c6fa
drm/amdgpu: Use FENCE_OWNER_KFD in process_sync_pds_resv

We don't want eviction fences to trigger when waiting for page table
updates to complete during restore. In theory there shouldn't be any
unsignaled eviction fences in the PD reservation object, but I'm
seeing them in instrumented code for reasons not fully understood.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c