diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-04-18 21:38:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-26 11:42:59 -0400 |
commit | 601354f344334fe7ee98b71ee3391a8a4215a7f9 (patch) | |
tree | 611bf084ee07662b95df85c130f9d59e7078f379 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | |
parent | 6b9c63a6eb540e678504a080865e9d3c716288ed (diff) | |
download | linux-601354f344334fe7ee98b71ee3391a8a4215a7f9.tar.bz2 |
drm/amdkfd: Update mapping if range attributes changed
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.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h')
0 files changed, 0 insertions, 0 deletions