aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2018-03-13 20:05:59 +0000
committerAlex Deucher <[email protected]>2018-11-20 19:01:05 +0000
commit5aae7335b1ee609da13e5c9fa535802654171e10 (patch)
tree24be45b6686f03ffb398683043e7212fad3d5959 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amdgpu: KFD Restore process: Optimize waiting (diff)
downloadkernel-5aae7335b1ee609da13e5c9fa535802654171e10.tar.gz
kernel-5aae7335b1ee609da13e5c9fa535802654171e10.zip
drm/amdkfd: Fix and simplify sync object handling for KFD
The adev parameter in amdgpu_sync_fence and amdgpu_sync_resv is only needed for updating sync->last_vm_update. This breaks if different adevs are passed to calls for the same sync object. Always pass NULL for calls from KFD because sync objects used for KFD don't belong to any particular device, and KFD doesn't need the sync->last_vm_update fence. This fixes kernel log warnings on multi-GPU systems after recent changes in amdgpu_amdkfd_gpuvm_restore_process_bos. Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions