Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bf40d78 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher
Browse files

drm/amd/powerplay: drop the acg fix



This workaround is not needed any more.

Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 77564c9d
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;