drm/amdgpu/powerplay: pp module only enable smu when dpm disabled.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Rex Zhu
2016-10-27 15:29:57 +08:00
committed by Alex Deucher
parent acd546b9fd
commit ba5f884cfa
3 changed files with 44 additions and 15 deletions

View File

@@ -29,6 +29,8 @@
#include "amd_shared.h"
#include "cgs_common.h"
extern int amdgpu_dpm;
enum amd_pp_sensors {
AMDGPU_PP_SENSOR_GFX_SCLK = 0,
AMDGPU_PP_SENSOR_VDDNB,