vega10_popul...le_soc_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vega10_populate_single_soc_level (9) β€” Kernel API Manual ✨

okay so bestie, welcome to the vega10_populate_single_soc_level page 🫢 this one lives in the Kernel API Manual and honestly it's giving "small but crucial" energy. periodt.


🌸 NAME 🌸

vega10_populate_single_soc_level β€” literally populates a single SMC SOCCLK structure using the clock you hand it. that's the whole vibe. no cap. πŸ’–


✨ SYNOPSIS ✨

int vega10_populate_single_soc_level (struct pp_hwmgr *hwmgr , uint32_t
soc_clock , uint8_t *current_soc_did , uint8_t *current_vol_index );

like, look at her. iconic signature. πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • hwmgr β€” the address of the hardware manager. yes, the hardware manager. she's the main character here πŸ‘‘
  • soc_clock β€” the SOC clock you're using to populate the structure. this is the actual clock value, bestie, not a vibe πŸ•
  • current_soc_did β€” DFS divider to pass back to the caller. it's an out-param, she's reporting back πŸ’…
  • current_vol_index β€” index of the current VDD to pass back to the caller. also reporting back, also serving 🫢

⭐ RETURN ⭐

0 on success. that's it. that's the return. slay. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c β€” go look, iykyk πŸ“

the whole friend group fr fr 🌈


ok that's the page!! source/version situation: ./drivers/gpu/drm/amd/pm/power... and the date is October 2026, with the footer throwing vega10_popul...le_soc_level(9) at us one more time for good measure πŸ’œ mwah, go populate some structures bestie πŸ§šβ€β™€οΈπŸ“
πŸ“¦ where this page comes from