drm/amd/powerplay: add disable_smc_ctf callback in hwmgr.
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 27 Apr 2017 07:46:35 +0000 (15:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:33:15 +0000 (17:33 -0400)
commit1dfc41d44c20dc3efbd0139d7f991d13c6daa875
treea2f322a082a1ed1669877daa2b99f94a613b36c9
parent10e709cb296c98424c03408d23e3addeddcd4088
drm/amd/powerplay: add disable_smc_ctf callback in hwmgr.

export disablesmcctf to eventmgr.
need to disable temperature alert when s3/s4.
otherwise, when resume back,enable temperature
alert will fail.

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