summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorXiaogang Chen <xiaogang.chen@amd.com>2023-03-09 17:44:55 -0600
committerAlex Deucher <alexander.deucher@amd.com>2023-03-13 17:27:47 -0400
commit0fb44d54c66ea74b7c148aca8dbd683c47232018 (patch)
tree72ec16272855fc5a612f69f04bf8f13e2edf2c25 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parent67f3c2096909c457c64f96954efee36e48299991 (diff)
drm/amdkfd: Get prange->offset after svm_range_vram_node_new
During miration to vram prange->offset is valid after vram buffer is located, either use old one or allocate a new one. Move svm_range_vram_node_new before migrate for each vma to get valid prange->offset. v2: squash in warning fix Fixes: 9473b6b25b83 ("drm/amdkfd: Fix BO offset for multi-VMA page migration") Signed-off-by: Xiaogang Chen <Xiaogang.Chen@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/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions