Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dppatomctrl.c649 ATOM_ASIC_PROFILING_INFO_V3_4 *getASICProfilingInfo; in atomctrl_calculate_voltage_evv_on_sclk() local
676 getASICProfilingInfo = (ATOM_ASIC_PROFILING_INFO_V3_4 *) in atomctrl_calculate_voltage_evv_on_sclk()
681 if (!getASICProfilingInfo) in atomctrl_calculate_voltage_evv_on_sclk()
684 if (getASICProfilingInfo->asHeader.ucTableFormatRevision < 3 || in atomctrl_calculate_voltage_evv_on_sclk()
685 (getASICProfilingInfo->asHeader.ucTableFormatRevision == 3 && in atomctrl_calculate_voltage_evv_on_sclk()
686 getASICProfilingInfo->asHeader.ucTableContentRevision < 4)) in atomctrl_calculate_voltage_evv_on_sclk()
693 fRLL_LoadLine = Divide(getASICProfilingInfo->ulLoadLineSlop, 1000); in atomctrl_calculate_voltage_evv_on_sclk()
697 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm1)); in atomctrl_calculate_voltage_evv_on_sclk()
698 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
701 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm2)); in atomctrl_calculate_voltage_evv_on_sclk()
[all …]