summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2019-01-25 12:33:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 23:04:01 +0300
commita317cf0362729df2776419536eea73fd55f62e03 (patch)
treeb2460e398d0d48a6fe9ebada3e244e453843eee4 /drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
parentc5bee44baa3c60c3d283c3348ef1b5bf1e8e2427 (diff)
downloadlinux-a317cf0362729df2776419536eea73fd55f62e03.tar.xz
drm/amd/powerplay: enable amdgpu dpm for smu
enable amdgpu dpm global flag Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amdgpu_smu.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/amdgpu_smu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 48b346f95cd6..ed2f7ccd2fb5 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -742,6 +742,8 @@ static int smu_hw_init(void *handle)
mutex_unlock(&smu->mutex);
+ adev->pm.dpm_enabled = true;
+
pr_info("SMU is initialized successfully!\n");
return 0;