diff options
| author | Lin.Cao <[email protected]> | 2025-06-24 09:05:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-30 17:57:31 +0000 |
| commit | f3e58d8e154dae5015c7400812c80789589fc36e (patch) | |
| tree | 5de2faa92601add467a049a6b5024b4e7e7b88b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | |
| parent | drm/amdkfd: Don't call mmput from MMU notifier callback (diff) | |
| download | kernel-f3e58d8e154dae5015c7400812c80789589fc36e.tar.gz kernel-f3e58d8e154dae5015c7400812c80789589fc36e.zip | |
drm/amdgpu: Fix memory leak in amdgpu_ctx_mgr_entity_fini
patch dd64956685fa ("drm/amdgpu: Remove duplicated "context still
alive" check") removed ctx put, which will cause amdgpu_ctx_fini()
cannot be called and then cause some finished fence that added by
amdgpu_ctx_add_fence() cannot be released and cause memleak.
Fixes: dd64956685fa ("drm/amdgpu: Remove duplicated "context still alive" check")
Signed-off-by: Lin.Cao <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 8cf66089e28108dedd47e6156a48489303cf525c)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c')
0 files changed, 0 insertions, 0 deletions
