]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdkfd: Improve amdgpu_vm_handle_moved
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 16 Mar 2022 21:21:40 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Nov 2023 16:18:32 +0000 (12:18 -0400)
commit5a104cb97c4e2bc8918b026a770188313b1d5fb3
tree9f72fa1bd2db5984456575497af23f2d33b2b122
parent6740ec97bcdbe96ac7df147f986c030eddfebe65
drm/amdkfd: Improve amdgpu_vm_handle_moved

Let amdgpu_vm_handle_moved update all BO VA mappings of BOs reserved by
the caller. This will be useful for handling extra BO VA mappings in
KFD VMs that are managed through the render node API.

v2: rebase against drm_exec changes (Alex)

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h