diff options
author | Lin.Cao <lincao12@amd.com> | 2025-06-24 17:05:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-30 11:55:28 -0400 |
commit | 8cf66089e28108dedd47e6156a48489303cf525c (patch) | |
tree | 7742faee9360bedbd6c67074eb0a3c737b3bfb7e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 26143d29927189fbc65434fccd8810c63089f709 (diff) |
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 <lincao12@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions