Commit 035358b3 authored by Jiawei Gu's avatar Jiawei Gu Committed by Zheng Zengkai
Browse files

drm/amdgpu: fix potential memory leak during navi12 deinitialization



stable inclusion
from stable-5.10.9
commit 279af879c3df88a08d0d40fd42108d13a48a7bdf
bugzilla: 47457

--------------------------------

[ Upstream commit e6d5c64e ]

Navi12 HDCP & DTM deinitialization needs continue to free bo if already
created though initialized flag is not set.

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarJiawei Gu <Jiawei.Gu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 5a08292e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment