diff options
author | David Belanger <david.belanger@amd.com> | 2023-02-28 14:11:24 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-15 18:45:26 -0400 |
commit | 22e3d9343b8292dfd8c72a5a539dc1ad4829b87a (patch) | |
tree | 131349c3920538d8c617cfc83d90e9807899fca6 /drivers/gpu/drm/amd/amdgpu/mca_v3_0.h | |
parent | 3726b6e7c0f1842a2ffdfd5921c95f69c0524808 (diff) |
drm/amdkfd: Fixed kfd_process cleanup on module exit.
Handle case when module is unloaded (kfd_exit) before a process space
(mm_struct) is released.
v2: Fixed potential race conditions by removing all kfd_process from
the process table first, then working on releasing the resources.
v3: Fixed loop element access / synchronization. Fixed extra empty lines.
Signed-off-by: David Belanger <david.belanger@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mca_v3_0.h')
0 files changed, 0 insertions, 0 deletions