Re: [PATCH v2 2/7] drm/amdkfd: Add helper function svm_range_need_access_gpus

2023-10-17 Thread Felix Kuehling
On 2023-10-10 10:40, Philip Yang wrote: Refactor svm_range_validate_and_map to add and use the helper function to get all GPUs bitmap that need access the svm range. No functional change. This helper will be used in the following patch. Signed-off-by: Philip Yang Reviewed-by: Felix Kuehling

[PATCH v2 2/7] drm/amdkfd: Add helper function svm_range_need_access_gpus

2023-10-10 Thread Philip Yang
Refactor svm_range_validate_and_map to add and use the helper function to get all GPUs bitmap that need access the svm range. No functional change. This helper will be used in the following patch. Signed-off-by: Philip Yang --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 55