]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e3f0d90a6bf738c92bd6c6f5ff46c20690619a1
treee211450c74012576612f419d3c244ab4e0f73c8c
parent5b79a323c80df6f2b8a355169355514bbccf1f98
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