amdgpu_atcs_parse_functions(9)
π amdgpu_atcs_parse_functions β from the Kernel API Manual, bestie β¨
Okay so real talk, this is a page straight out of the amdgpu_atcs_parse_functions(9) corner of the kernel docs, and honestly? It's short, it's sweet, it slays. Let me break it down for you π«Ά
πΈ NAME πΈ
amdgpu_atcs_parse_functions β the girl whose whole job is parsing supported functions πββοΈ
β¨ SYNOPSIS β¨
void amdgpu_atcs_parse_functions (struct amdgpu_atcs_functions *f , u32
mask );
Literally that's it. Void return, two args, no drama. Iconic behavior tbh π
π ARGUMENTS π
fβ the supported functions struct, aka the little container where all the supported-function info gets parked πβ¨maskβ the supported functions mask, and no cap, it comes straight from ATCS π
π¦ DESCRIPTION π¦
So here's the vibe: you take that supported functions mask from the ATCS function ATCS_FUNCTION_VERIFY_INTERFACE, and you use it to figure out which functions are actually supported. That's the whole thing. That's the assignment. And yes bestie, this applies to all asics β every single one, no exceptions, we love an inclusive king ππ
π SEE ALSO π
The kernel file lives right here, and you already know:
./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
And the full squad, in order, because we do not skip people in this house π«Ά
amdgpu_atif_call(9)amdgpu_atif_parse_notification(9)amdgpu_atif_parse_functions(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_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)
Bestie this one's tiny but it matters β it's the little parser that tells the rest of the ACPI crew what ATCS can actually do π₯
And that's the whole page, periodt π This gem lives out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and honestly? Obsessed. 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