diff options
| author | Mario Limonciello (AMD) <superm1@kernel.org> | 2026-01-07 15:37:28 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-01-08 11:43:23 -0500 |
| commit | 6a23e7b4332c10f8b56c33a9c5431b52ecff9aab (patch) | |
| tree | dedc6420caaa468c7b300df1a6fea82d750a9026 /include/linux/folio_queue.h | |
| parent | 17de472698fd5e5d1e7dbd3360434dc7b763e671 (diff) | |
drm/amd: Clean up kfd node on surprise disconnect
When an eGPU is unplugged the KFD topology should also be destroyed
for that GPU. This never happens because the fini_sw callbacks never
get to run. Run them manually before calling amdgpu_device_ip_fini_early()
when a device has already been disconnected.
This location is intentionally chosen to make sure that the kfd locking
refcount doesn't get incremented unintentionally.
Cc: kent.russell@amd.com
Closes: https://community.frame.work/t/amd-egpu-on-linux/8691/33
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/folio_queue.h')
0 files changed, 0 insertions, 0 deletions
