]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd8ab501b8c3a0ad20439da882ae78ae0ae4ae75
treeb6c9f6f7832c52a9079e6ac7bcead4f03d406ff2
parent30f55854b4749d7814cb60b4a5c517862c35432c
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