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: NAlex Deucher <alexander.deucher@amd.com> Signed-off-by: NJiawei Gu <Jiawei.Gu@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录