Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Philip Yang 386a68e786 drm/amdkfd: support concurrent userptr update for HMM
Userptr restore may have concurrent userptr invalidation after
hmm_vma_fault adds the range to the hmm->ranges list, needs call
hmm_vma_range_done to remove the range from hmm->ranges list first,
then reschedule the restore worker. Otherwise hmm_vma_fault will add
same range to the list, this will cause loop in the list because
range->next point to range itself.

Add function untrack_invalid_user_pages to reduce code duplication.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:36:58 -05:00
..
2018-10-24 20:04:03 -05:00
2015-06-03 21:03:15 -04:00
2019-03-19 15:36:50 -05:00
2017-10-20 13:28:44 -04:00
2019-01-14 10:58:37 +01:00
2015-06-03 21:03:15 -04:00
2019-01-14 15:04:47 -05:00
2019-01-14 15:04:47 -05:00
2019-03-19 15:36:51 -05:00
2015-06-03 21:03:17 -04:00
2016-08-31 15:21:09 -04:00
2019-03-19 15:36:51 -05:00
2019-01-14 15:04:47 -05:00
2019-03-19 15:36:50 -05:00
2019-01-14 15:04:47 -05:00