radeon_atpx_power_state(9)
β¨ 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:
- Kernel file
./drivers/gpu/drm/radeon/radeon_atpx_handler.c radeon_atpx_call(9)radeon_atpx_parse_functions(9)radeon_atpx_validate(9)radeon_atpx_verify_interface(9)radeon_atpx_set_discrete_state(9)radeon_atpx_switch_disp_mux(9)radeon_atpx_switch_i2c_mux(9)radeon_atpx_switch_start(9)radeon_atpx_switch_end(9)radeon_atpx_switchto(9)radeon_atpx_pci_probe_handle(9)radeon_atpx_init(9)radeon_atpx_get_client_id(9)radeon_atpx_detect(9)radeon_register_atpx_handler(9)radeon_unregister_atpx_handler(9)
π 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
- 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