]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amd/powerplay: fix memory leak in smu7_hwmgr
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 28 Dec 2016 12:15:45 +0000 (20:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:01 +0000 (11:13 -0500)
commita0aa70463e49ed9069c402d7907bba892dd8ef7f
tree6abeac2df267e5b301cb4f22160a5b47bd66a1c0
parentcd576e63d222c1d6307cec7cb185a64db2985ee8
drm/amd/powerplay: fix memory leak in smu7_hwmgr

add pp_smu7_thermal_fini function to free related
data when smu7_hwmgr_fini.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.h
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h