radeon_atpx_power_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ radeon_atpx_power_state ✨

okay so bestie, welcome to the Kernel API Manual entry for radeon_atpx_power_state β€” yes it's a mouthful, yes it slays, no we're not renaming it πŸ’…


πŸŽ€ NAME πŸŽ€

radeon_atpx_power_state β€” power down/up the requested GPU ⚑


🌸 SYNOPSIS 🌸

int radeon_atpx_power_state (enum vga_switcheroo_client_id id , enum
       vga_switcheroo_state state );

lowkey that's the whole vibe right there, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • id β€” the GPU you wanna power down/up, bestie. like, which one. that one. πŸ‘‰
  • state β€” the power state you're requesting ✨ (0 = off, 1 = on, iconic numbering iykyk)

πŸ’– DESCRIPTION πŸ’–

So what does it do? It executes the necessary ATPX function to power down/up the discrete GPU (all asics). that's it, that's the whole job πŸ’…

Returns 0 on success, error on failure. so basically: 0 = we ate, error = not me, not today 😭


🌈 SEE ALSO 🌈

the whole fam fr fr, go check them out:


πŸ’€ reminder bestie: this is kernel API territory, so read the source before you go touching it, mwah 🫢

and that's a wrap, angel πŸ‘‘ this lil page lives in ./drivers/gpu/drm/radeon, dated October 2026, in the radeon_atpx_power_state(9) era of your life. go forth and power-state responsibly βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from