diff options
| author | Xiaogang Chen <[email protected]> | 2023-03-09 23:44:55 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-13 21:27:47 +0000 |
| commit | 0fb44d54c66ea74b7c148aca8dbd683c47232018 (patch) | |
| tree | 72ec16272855fc5a612f69f04bf8f13e2edf2c25 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/amd/amdgpu: Add missing INT_STAT_DEBUG registers to GC 10.1 and 10.3 headers (diff) | |
| download | kernel-0fb44d54c66ea74b7c148aca8dbd683c47232018.tar.gz kernel-0fb44d54c66ea74b7c148aca8dbd683c47232018.zip | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
