commit | 3abfe30d803e62cc75dec254eefab3b04d69219b | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Mon Nov 29 12:33:05 2021 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 01 17:09:58 2021 -0500 |
tree | 28fe35662508d89b2a3fd411bc380f3bc3acf839 | |
parent | 428890a3fec131521cc59aac0d3c48bde9d76b7b [diff] |
drm/amdkfd: process_info lock not needed for svm process_info->lock is used to protect kfd_bo_list, vm_list_head, n_vms and userptr valid/inval list, svm_range_restore_work and svm_range_set_attr don't access those, so do not need to take process_info lock. This will avoid potential circular locking issue. 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>