diff options
| author | Lin.Cao <[email protected]> | 2025-06-24 09:05:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-30 15:55:28 +0000 |
| commit | 8cf66089e28108dedd47e6156a48489303cf525c (patch) | |
| tree | 7742faee9360bedbd6c67074eb0a3c737b3bfb7e /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | |
| parent | drm/amdgpu: indent an if statement (diff) | |
| download | kernel-8cf66089e28108dedd47e6156a48489303cf525c.tar.gz kernel-8cf66089e28108dedd47e6156a48489303cf525c.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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
0 files changed, 0 insertions, 0 deletions
