amdgpu_atpx_switch_disp_mux(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the Kernel API Manual page for amdgpu_atpx_switch_disp_mux(9) β€” it's giving very specific kernel energy, and honestly? iconic. We're talking about switching the display mux, no cap. πŸ’…

πŸ’– NAME πŸ’–

amdgpu_atpx_switch_disp_mux β€” switch display mux. That's the whole name vibe: it switches the display mux. Periodt.

✨ SYNOPSIS ✨

Here's the signature, copy-paste safe, literally:

int amdgpu_atpx_switch_disp_mux (struct amdgpu_atpx *atpx , u16 mux_id
);

πŸŽ€ ARGUMENTS πŸŽ€

  • atpx β€” the atpx info struct, fr fr.
  • mux_id β€” the mux state: 0 = integrated GPU, 1 = discrete GPU. That's it, that's the whole vibe check.

🌸 DESCRIPTION 🌸

So what does it actually do? It executes the ATPX_FUNCTION_DISPLAY_MUX_CONTROL ATPX function to switch the display mux between the discrete GPU and integrated GPU β€” and yes, that's for all asics, no cap. 🌈

Return vibe: 0 on success, error on failure. If it fails, it's not giving success, bestie. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c

Also lowkey go look at the whole ATPX crew:


Source/version check: this page is from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's literally amdgpu_atpx_switch_disp_mux(9). Bye bestie, go switch that mux πŸ’–βœ¨

πŸ“¦ where this page comes from