]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix potential memory leak during navi12 deinitialization
authorJiawei Gu <Jiawei.Gu@amd.com>
Tue, 29 Dec 2020 12:35:33 +0000 (20:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:35:26 +0000 (11:35 -0500)
commit63657a8f92553e06e4aa1816cc3e496d4c086794
treee0cc111ec8f2240814d5a52c3738b185c8fc47ab
parent240539899d3eed1af06a0e62edb80dd036cf4d46
drm/amdgpu: fix potential memory leak during navi12 deinitialization

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

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jiawei Gu <Jiawei.Gu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c