OSDN Git Service

drm/amd/powerplay: drop the acg fix
authorEvan Quan <evan.quan@amd.com>
Mon, 11 Jun 2018 09:38:54 +0000 (17:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:52 +0000 (16:38 -0500)
This workaround is not needed any more.

Signed-off-by: Evan Quan <evan.quan@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/vega12_processpptables.c

index 2991470..f4f366b 100644 (file)
@@ -224,12 +224,6 @@ static int append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable
        ppsmc_pptable->AcgGfxclkSpreadPercent = smc_dpm_table.acggfxclkspreadpercent;
        ppsmc_pptable->AcgGfxclkSpreadFreq = smc_dpm_table.acggfxclkspreadfreq;
 
-       /* 0xFFFF will disable the ACG feature */
-       if (!(hwmgr->feature_mask & PP_ACG_MASK)) {
-               ppsmc_pptable->AcgThresholdFreqHigh = 0xFFFF;
-               ppsmc_pptable->AcgThresholdFreqLow = 0xFFFF;
-       }
-
        ppsmc_pptable->Vr2_I2C_address = smc_dpm_table.Vr2_I2C_address;
 
        return 0;