amdgpu_acpi...ocation_size(9)
π 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 theamdgpu_devicestructure. 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 π«‘
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_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_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)
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
- 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