radeon_atcs_parse_functions(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… radeon_atcs_parse_functions(9) β€” or, "so what can this GPU actually DO bestie"

okay so this is a page from the Kernel API Manual (yes the whole big kernel man page situation, we're in it) and it's about one tiny lil function that reads a bitmask and tells you which ATCS functions your hardware supports. it's short, it's sweet, it's giving "one job and it does it." let's go πŸŽ€


✨ NAME ✨

radeon_atcs_parse_functions β€” parse supported functions πŸ’«

like, literally just that. it parses. it figures out what's supported. no cap.


🌸 SYNOPSIS 🌸

void radeon_atcs_parse_functions (struct radeon_atcs_functions *f , u32 mask );

returns nothing (it's void, she's just here to fill in a struct, not to give you answers directly 🫢), takes a pointer to the functions struct and a u32 mask. that's the whole vibe check.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • f β€” the supported functions struct πŸ’– this is the output bestie, this is where the good stuff lands, the whole point of the function tbh
  • mask β€” the supported functions mask, straight from ATCS ✨ this is the raw truth from the firmware side, unparsed, just vibes and bits

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea:

you take the supported functions mask that came out of the ATCS function ATCS_FUNCTION_VERIFY_INTERFACE, and you use it to determine what functions are supported. that's it, that's the function. (and this applies to all asics, not just your fav one β€” everyone gets the same treatment πŸ’…)

the way that this is literally just "i have a mask, i will now translate that mask into knowledge" β€” iconic. main character energy for a bitmask parser honestly.

ngl it's a small function, but it's the bridge between "the firmware said some bits" and "the driver knows what it can do." respect the pipeline πŸ”₯

🧚 SEE ALSO 🧚

the kernel file lives at ./drivers/gpu/drm/radeon/radeon_acpi.c and honestly the whole friend group is worth a read πŸ’œ:

like, all of them. the entire acpi crew. go say hi πŸ“


and that's the whole page bestie πŸ’– sourced from ./drivers/gpu/drm/radeon, stamped October 2026, filed under radeon_atcs_parse_functions(9) in the Kernel API Manual. slay, go parse some functions, mwah πŸŽ€βœ¨πŸŒˆ

πŸ“¦ where this page comes from