atomctrl_get..._evv_on_sclk(9)
β¨ atomctrl_get_voltage_evv_on_sclk π (section 9)
okay so bestie, welcome to the Kernel API Manual β this is the atomctrl_get..._evv_on_sclk(9) page and it's literally the moment where we go ask the ATOM COMMAND table for a voltage π
πΈ NAME πΈ
atomctrl_get_voltage_evv_on_sclk β gets voltage via call to ATOM COMMAND table π«Ά
no cap, that's the whole job description. it goes and fetches you a voltage. iconic.
β SYNOPSIS β
int atomctrl_get_voltage_evv_on_sclk (struct pp_hwmgr *hwmgr , uint8_t
voltage_type , uint32_t sclk , uint16_t virtual_voltage_Id , uint16_t
*voltage );
π¦ ARGUMENTS π¦
so like, here's who's coming to the function party π
hwmgrβ input: pointer to hwManager. yes the whole manager. she's the main character.voltage_typeβ input: type of EVV voltage βVDDCorVDDGFX. pick your girl πsclkβ input: in10Khzunit. it's the DPM state SCLK frequency, which is defined in the PPTableSCLK/VDDCdependence table associated with thisvirtual_voltage_Id. iykyk πvirtual_voltage_Idβ input: voltage id which match per voltage DPM state:0xff01,0xff02..0xff08πvoltageβ output: real voltage level in unit ofmv. this is the one you actually came for, bestie π
π SEE ALSO π
go look at the Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c fr fr, and also these legends:
atomctrl_set_mc_reg_address_table(9)atomctrl_get_memory_pll_dividers_si(9)atomctrl_get_memory_pll_dividers_vi(9)atomctrl_get_voltage_evv(9)
they're all in the same friend group, lowkey obsessed with them π§
and that's the whole page!! mwah π sign-off era: this little beauty lives over in ./drivers/gpu/drm/amd/pm/power..., dated October 2026, and it's the atomctrl_get..._evv_on_sclk(9) page from the Kernel API Manual β slay, ate, periodt β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms