drm/amdgpu/pp: fix copy paste typo in smu7_init_dpm_defaults
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jun 2018 17:52:43 +0000 (12:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:39:52 +0000 (16:39 -0500)
Should be mclk rather than sclk.

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

index de295b7442b7b0d5ce2e82dd1d6171a98d315059..e5c27d12aa4947c70963d209d0e972348cb54f24 100644 (file)
@@ -1578,7 +1578,7 @@ static void smu7_init_dpm_defaults(struct pp_hwmgr *hwmgr)
        data->current_profile_setting.sclk_up_hyst = 0;
        data->current_profile_setting.sclk_down_hyst = 100;
        data->current_profile_setting.sclk_activity = SMU7_SCLK_TARGETACTIVITY_DFLT;
-       data->current_profile_setting.bupdate_sclk = 1;
+       data->current_profile_setting.bupdate_mclk = 1;
        data->current_profile_setting.mclk_up_hyst = 0;
        data->current_profile_setting.mclk_down_hyst = 100;
        data->current_profile_setting.mclk_activity = SMU7_MCLK_TARGETACTIVITY_DFLT;