summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-04-27 15:48:56 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-04-28 17:33:16 -0400
commit8b9242eddd51f17b8306d6c96172fd68ef1106c6 (patch)
treee5af18519679d9f773cd1cf6548bc9f2d0c23de0 /drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
parentf8dc9476d9fe25b982e642a733967d7b5fbe5ae3 (diff)
downloadop-kernel-dev-8b9242eddd51f17b8306d6c96172fd68ef1106c6.zip
op-kernel-dev-8b9242eddd51f17b8306d6c96172fd68ef1106c6.tar.gz
drm/amd/powerplay: implement stop dpm task for vega10.
Add functions to disable dpm for S3/S4. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
index f4d77b6..7062ec8 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
@@ -501,7 +501,7 @@ static int vega10_thermal_enable_alert(struct pp_hwmgr *hwmgr)
* Disable thermal alerts on the RV770 thermal controller.
* @param hwmgr The address of the hardware manager.
*/
-static int vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr)
+int vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr)
{
struct vega10_hwmgr *data = (struct vega10_hwmgr *)(hwmgr->backend);
OpenPOWER on IntegriCloud