Re: [PATCH v2 2/2] drm/amdkfd: Update mapping if range attributes changed

2022-04-25 Thread Felix Kuehling
Am 2022-04-22 um 18:05 schrieb Felix Kuehling: On 2022-04-22 10:06, Philip Yang wrote: Change SVM range mapping flags or access attributes don't trigger migration, if range is already mapped on GPUs we should update GPU mapping and pass flush_tlb flag true to amdgpu vm. Change SVM range preferr

Re: [PATCH v2 2/2] drm/amdkfd: Update mapping if range attributes changed

2022-04-22 Thread Felix Kuehling
On 2022-04-22 10:06, Philip Yang wrote: Change SVM range mapping flags or access attributes don't trigger migration, if range is already mapped on GPUs we should update GPU mapping and pass flush_tlb flag true to amdgpu vm. Change SVM range preferred_loc or migration granularity don't need updat

[PATCH v2 2/2] drm/amdkfd: Update mapping if range attributes changed

2022-04-22 Thread Philip Yang
Change SVM range mapping flags or access attributes don't trigger migration, if range is already mapped on GPUs we should update GPU mapping and pass flush_tlb flag true to amdgpu vm. Change SVM range preferred_loc or migration granularity don't need update GPU mapping, skip the validate_and_map.