Home
last modified time | relevance | path

Searched refs:getASICProfilingInfo (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomctrl.c688 ATOM_ASIC_PROFILING_INFO_V3_4 *getASICProfilingInfo; in atomctrl_calculate_voltage_evv_on_sclk() local
715 getASICProfilingInfo = (ATOM_ASIC_PROFILING_INFO_V3_4 *) in atomctrl_calculate_voltage_evv_on_sclk()
720 if (!getASICProfilingInfo) in atomctrl_calculate_voltage_evv_on_sclk()
723 if (getASICProfilingInfo->asHeader.ucTableFormatRevision < 3 || in atomctrl_calculate_voltage_evv_on_sclk()
724 (getASICProfilingInfo->asHeader.ucTableFormatRevision == 3 && in atomctrl_calculate_voltage_evv_on_sclk()
725 getASICProfilingInfo->asHeader.ucTableContentRevision < 4)) in atomctrl_calculate_voltage_evv_on_sclk()
732 fRLL_LoadLine = Divide(getASICProfilingInfo->ulLoadLineSlop, 1000); in atomctrl_calculate_voltage_evv_on_sclk()
736 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
739 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM2), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
742 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM3), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
[all …]