OSDN Git Service

drm/amd/pp: Cleaning up vega10_enable_dpm_tasks function
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 23 Feb 2018 05:13:13 +0000 (13:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:40 +0000 (23:09 -0500)
commite21148ecbac33b854156a2741d35c33892c2ac34
treeb6c9f6f7832c52a9079e6ac7bcead4f03d406ff2
parentaf264d0245271822bb56145c4633a50fd730d0ab
drm/amd/pp: Cleaning up vega10_enable_dpm_tasks function

1. move display num initialize out of dpm enable tasks.
2. do not set/restore smc telemetry if dpm is runing.

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