Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Damdgpu_ppatomctrl.c654 ATOM_ASIC_PROFILING_INFO_V3_4 *getASICProfilingInfo; in atomctrl_calculate_voltage_evv_on_sclk() local
681 getASICProfilingInfo = (ATOM_ASIC_PROFILING_INFO_V3_4 *) in atomctrl_calculate_voltage_evv_on_sclk()
686 if (!getASICProfilingInfo) in atomctrl_calculate_voltage_evv_on_sclk()
689 if (getASICProfilingInfo->asHeader.ucTableFormatRevision < 3 || in atomctrl_calculate_voltage_evv_on_sclk()
690 (getASICProfilingInfo->asHeader.ucTableFormatRevision == 3 && in atomctrl_calculate_voltage_evv_on_sclk()
691 getASICProfilingInfo->asHeader.ucTableContentRevision < 4)) in atomctrl_calculate_voltage_evv_on_sclk()
698 fRLL_LoadLine = Divide(getASICProfilingInfo->ulLoadLineSlop, 1000); in atomctrl_calculate_voltage_evv_on_sclk()
702 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm1)); in atomctrl_calculate_voltage_evv_on_sclk()
703 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
706 fPowerDPMx = Convert_ULONG_ToFraction(le16_to_cpu(getASICProfilingInfo->usPowerDpm2)); in atomctrl_calculate_voltage_evv_on_sclk()
[all …]