amdgpu_atif_call(9)
π amdgpu_atif_call β ok so this is from the Kernel API Manual, section 9, and it's literally about calling an ATIF method π
β¨ NAME β¨
amdgpu_atif_call β bestie, it calls an ATIF method. that's the whole vibe. π«
πΈ SYNOPSIS πΈ
union acpi_object * amdgpu_atif_call (struct amdgpu_atif *atif , int
function , struct acpi_buffer *params , size_t min_size );
no cap, that's the signature. four args, one return, iconic behavior π
π¦ ARGUMENTS π¦
atifβ the atif structure. your little passport of ATIF-ness πfunctionβ the ATIF function you wanna execute. pick your fighter fr fr βοΈparamsβ the ATIF function params. the lil care package you're sending along π¦min_sizeβ minimum size of the expected output buffer, in bytes. like, "bestie please give me at least this much" π
π DESCRIPTION π
Executes the requested ATIF function (all asics). that's it, that's the whole thing β every asic gets the love, no gatekeeping π
Returns a pointer to the acpi output buffer. so like, a union acpi_object * lands in your hands and you're just standing there like π«Ά
not me pointing out that it's a pointer to the acpi output buffer and not the buffer itself β know the difference, it's giving main character energy π₯
π SEE ALSO π
kernel file, right here in the source tree:
./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
and the whole friend group, in this exact order because i don't make the rules π§:
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_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)
like, that's the whole group chat, read the whole thread ππ
anyway bestie, that's the page π sign-off time: this one lives in ./drivers/gpu/drm/amd/amdgpu, it's from October 2026, and the version is the Kernel API Manual β amdgpu_atif_call(9), slay, go read some kernel source, iykyk βπ
π¦ 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