]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: remove all KFD fences from the BO on release
authorChristian König <christian.koenig@amd.com>
Wed, 29 Jan 2025 15:28:49 +0000 (16:28 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Feb 2025 15:41:49 +0000 (10:41 -0500)
commitcb0de06d1b0afb2d0c600ad748069f5ce27730ec
treed046d0332202cf0d8f91d1d0f657655cdbe5504e
parent3521276ad14fe47ce1c4382749f3c95762629375
drm/amdgpu: remove all KFD fences from the BO on release

Remove all KFD BOs from the private dma_resv object.

This prevents the KFD from being evict unecessarily when an exported BO
is released.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-and-tested-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c