Skip to content
Commit 8cf66089 authored by Lin.Cao's avatar Lin.Cao Committed by Alex Deucher
Browse files

drm/amdgpu: Fix memory leak in amdgpu_ctx_mgr_entity_fini



patch dd649566 ("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: dd649566 ("drm/amdgpu: Remove duplicated "context still alive" check")
Signed-off-by: default avatarLin.Cao <lincao12@amd.com>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 26143d29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment