amdgpu_acpi...ocation_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_acpi_set_uma_allocation_size β€” a Kernel API Manual moment ✨

okay bestie, so we're in the Kernel API Manual today and the page is amdgpu_acpi...ocation_size(9) β€” yes the title is literally abbreviated with an ellipsis, that's just how the man page renders it, don't come for me πŸŽ€


🌸 NAME 🌸

amdgpu_acpi_set_uma_allocation_size β€” set the Unified Memory Architecture allocation size, and we're doing it via ACPI πŸ’«


✨ SYNOPSIS ✨

int amdgpu_acpi_set_uma_allocation_size (struct amdgpu_device *adev , u8
index , u8 type );

that's the whole signature, bestie β€” returns an int, takes three args 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” a pointer to the amdgpu_device structure. like, the device in question, the main character of this function call πŸ‘‘
  • index β€” the index that specifies the UMA allocation. which one? this one, babes πŸ’…
  • type β€” the type of UMA allocation. the vibe of the allocation, if you will 🌈

🧚 DESCRIPTION 🧚

so what does it actually DO β€” this function configures the UMA allocation size for the specified device using ACPI methods. no cap, that's the whole thing ✨

the allocation is determined by the provided index and type β€” so those two args are doing the heavy lifting, respect them 😌

and the returns? returns 0 on success, or a negative error code on failure. so like, 0 = slay, negative = something went sideways, check your error handling fr fr πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c β€” go read it, it's giving source-of-truth πŸ’–

and here's the whole friend group, all of them, in order, not skipping a single one 🫑


ngl this one is a short page but it ate anyway β€” small, focused, does exactly one thing πŸ’…

okay that's the whole read, and now the cute sign-off: this little number comes from the source tree at ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's filed under amdgpu_acpi...ocation_size(9) β€” mwah, go configure some UMA allocation sizes bestie πŸŽ€πŸ’œ

πŸ“¦ where this page comes from