radeon_atcs_parse_functions(9)
π 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 tbhmaskβ 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 π:
radeon_atif_call(9)radeon_atif_parse_notification(9)radeon_atif_parse_functions(9)radeon_atif_verify_interface(9)radeon_atif_get_notification_params(9)radeon_atif_get_sbios_requests(9)radeon_atif_handler(9)radeon_atcs_call(9)radeon_atcs_verify_interface(9)radeon_acpi_is_pcie_performance_request_supported(9)radeon_acpi_pcie_notify_device_ready(9)radeon_acpi_pcie_performance_request(9)radeon_acpi_event(9)radeon_acpi_init(9)radeon_acpi_fini(9)
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
- 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