aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2019-11-12 20:22:29 +0000
committerJason Gunthorpe <[email protected]>2019-11-23 23:56:45 +0000
commit81fa1af31b5d79047821def6abdcb97a735d8a52 (patch)
treeefeb1b45fcc3dc116ccfa41476bfb9bc93de7789 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/amdgpu: Use mmu_interval_insert instead of hmm_mirror (diff)
downloadkernel-81fa1af31b5d79047821def6abdcb97a735d8a52.tar.gz
kernel-81fa1af31b5d79047821def6abdcb97a735d8a52.zip
drm/amdgpu: Use mmu_interval_notifier instead of hmm_mirror
Convert the collision-retry lock around hmm_range_fault to use the one now provided by the mmu_interval notifier. Although this driver does not seem to use the collision retry lock that hmm provides correctly, it can still be converted over to use the mmu_interval_notifier api instead of hmm_mirror without too much trouble. This also deletes another place where a driver is associating additional data (struct amdgpu_mn) with a mmu_struct. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Philip Yang <[email protected]> Tested-by: Philip Yang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions