Revert "drm/amd/powerplay: fix performance drop on Vega10"
authorEric Huang <JinhuiEric.Huang@amd.com>
Fri, 13 Jul 2018 19:05:10 +0000 (15:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Jul 2018 20:29:29 +0000 (15:29 -0500)
This reverts commit b87079ec7b4d38efee015367315958ce5495ba93.

SMU FW team ask to remove this version specific code.

Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

index eb37316cfbf7321e9383015afcc60aa497ff0ed1..1a0dccb3fac1f914715ec2fafe78b01898f1d857 100644 (file)
@@ -2896,11 +2896,6 @@ static int vega10_enable_dpm_tasks(struct pp_hwmgr *hwmgr)
 
        vega10_enable_disable_PCC_limit_feature(hwmgr, true);
 
-       if ((hwmgr->smu_version == 0x001c2c00) ||
-                       (hwmgr->smu_version == 0x001c2d00))
-               smum_send_msg_to_smc_with_parameter(hwmgr,
-                               PPSMC_MSG_UpdatePkgPwrPidAlpha, 1);
-
        smum_send_msg_to_smc_with_parameter(hwmgr,
                PPSMC_MSG_ConfigureTelemetry, data->config_telemetry);