]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Fix an eviction fence leak
authorLang Yu <lang.yu@amd.com>
Fri, 27 Sep 2024 10:27:46 +0000 (18:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2024 18:03:52 +0000 (14:03 -0400)
commit5fa436289483ae56427b0896c31f72361223c758
tree54bfa38b88b8f8d3ca680b0c65da5b242c4847a1
parentef532206a94357de1fbd259364265e7e0758d8af
drm/amdkfd: Fix an eviction fence leak

Only creating a new reference for each process instead of each VM.

Fixes: 9a1c1339abf9 ("drm/amdkfd: Run restore_workers on freezable WQs")
Suggested-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Lang Yu <lang.yu@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_process.c