From: Kevin Wang Date: Fri, 25 Jan 2019 09:33:40 +0000 (+0800) Subject: drm/amd/powerplay: enable amdgpu dpm for smu X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a317cf0362729df2776419536eea73fd55f62e03;p=openwrt%2Fstaging%2Fblogic.git drm/amd/powerplay: enable amdgpu dpm for smu enable amdgpu dpm global flag Signed-off-by: Kevin Wang Reviewed-by: Huang Rui Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- 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;