diff options
author | Xiaogang Chen <Xiaogang.Chen@amd.com> | 2023-03-01 19:21:06 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-07 22:21:43 +0300 |
commit | 9473b6b25b836573d481c5ee6be0f1bd0fca14ff (patch) | |
tree | bb8b1bec2c42ddbe2502bcf35a14539df7f0d8c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 7a1bb27b6ba8a05b51c1589dd9d53eb43a9e9843 (diff) | |
download | linux-9473b6b25b836573d481c5ee6be0f1bd0fca14ff.tar.xz |
drm/amdkfd: Fix BO offset for multi-VMA page migration
svm_migrate_ram_to_vram migrates a prange from sys ram to vram. The prange may
cross multiple vma. Need remember current dst vram offset in the TTM resource for
each migration.
v2: squash in warning fix (Alex)
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_object.c')
0 files changed, 0 insertions, 0 deletions