drm/amd/powerplay: implement stop dpm task for vega10.
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 27 Apr 2017 07:48:56 +0000 (15:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:33:16 +0000 (17:33 -0400)
commit8b9242eddd51f17b8306d6c96172fd68ef1106c6
treee5af18519679d9f773cd1cf6548bc9f2d0c23de0
parentf8dc9476d9fe25b982e642a733967d7b5fbe5ae3
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>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h