amdgpu_atif_parse_functions(9)
π amdgpu_atif_parse_functions β like, the kernel API manual, bestie β¨
okay so this is the amdgpu_atif_parse_functions(9) page from the Kernel API Manual, and honestly it's short but it's important, so let's get into it π
β¨ NAME β¨
amdgpu_atif_parse_functions β parses the supported functions, periodt π
πΈ SYNOPSIS πΈ
void amdgpu_atif_parse_functions (struct amdgpu_atif_functions *f , u32
mask );
like, that's the whole signature. no return value, it's a void, she just does her thing π¦
π«Ά ARGUMENTS π«Ά
fβ the supported functions struct, aka the lil container where all the "yep, supported" info gets stashed πmaskβ the supported functions mask, straight from ATIF π
π₯ DESCRIPTION π₯
okay so the actual vibe: this function takes the supported functions mask that came out of the ATIF function ATIF_FUNCTION_VERIFY_INTERFACE and uses it to figure out which functions are actually supported β and yes, that's for all asics, no cap, every single one π
it's giving "decode the mask, tell me what we can do" energy. iconic behavior honestly β
π SEE ALSO π
the kernel file it lives in:
./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
and the whole friend group of related functions β go say hi to all of them, they're literally all linked here π
amdgpu_atif_call(9)amdgpu_atif_parse_notification(9)amdgpu_atif_verify_interface(9)amdgpu_atif_get_notification_params(9)amdgpu_atif_query_backlight_caps(9)amdgpu_atif_get_sbios_requests(9)amdgpu_atif_handler(9)amdgpu_atcs_call(9)amdgpu_atcs_parse_functions(9)amdgpu_atcs_verify_interface(9)amdgpu_acpi_is_pcie_performance_request_supported(9)amdgpu_acpi_is_power_shift_control_supported(9)amdgpu_acpi_pcie_notify_device_ready(9)amdgpu_acpi_pcie_performance_request(9)amdgpu_acpi_power_shift_control(9)amdgpu_acpi_smart_shift_update(9)amdgpu_acpi_set_uma_allocation_size(9)amdgpu_acpi_get_node_id(9)amdgpu_acpi_event(9)amdgpu_acpi_init(9)amdgpu_acpi_fini(9)amdgpu_atif_pci_probe_handle(9)amdgpu_atcs_pci_probe_handle(9)amdgpu_acpi_should_gpu_reset(9)amdgpu_acpi_is_s3_active(9)amdgpu_acpi_is_s0ix_active(9)
fr fr that's the whole page β short, sweet, and lowkey doing a lot of heavy lifting in the amdgpu ACPI world πβ¨
and that's a wrap, bestie π§ from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β mwah, drink some water, and may your masks always be parsed correctly ππ
π¦ 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