amdgpu_atif_call(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🧚:

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