drm/amdgpu: update mappings not managed by KFD
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 16 Mar 2022 22:46:56 +0000 (18:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Nov 2023 14:29:53 +0000 (09:29 -0500)
commite6ed364efae39455cb1d6b1895a1d31599608a2b
tree36ab7e473f30f63e571823eb8988487943bbf8b1
parentc8031019dc95e3ab7cc0b09f1894c5f52dc0c187
drm/amdgpu: update mappings not managed by KFD

When restoring after an eviction, use amdgpu_vm_handle_moved to update
BO VA mappings in KFD VMs that are not managed through the KFD API. This
should allow using the render node API to create more flexible memory
mappings in KFD VMs.

v2: rebase on drm_exec changes (Alex)

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