amdgpu_acpi_get_node_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_acpi_get_node_id β€” a kernel API manual moment

okay so bestie, welcome to the amdgpu_acpi_get_node_id(9) page from the Kernel API Manual ✨ β€” it's short, it's sweet, and it's literally here to tell you which NUMA node your GPU lives in πŸŽ€


🌸 NAME

amdgpu_acpi_get_node_id β€” obtain the NUMA node id for corresponding amdgpu acpi device handle

like, that's the whole gig. you hand it a handle, it hands you a node id. iykyk πŸ¦‹


✨ SYNOPSIS

acpi_status amdgpu_acpi_get_node_id (acpi_handle handle , struct
       amdgpu_numa_info **numa_info );

look at her. two arguments. zero drama. πŸ’…


🫢 ARGUMENTS

  • handle β€” the acpi handle πŸ’– that's your entry point, your little key to the ACPI world
  • numa_info β€” an amdgpu_numa_info structure holding numa information 🌈 (yes, it's a double pointer, she's fancy like that)

πŸ‘‘ DESCRIPTION

So basically it queries the ACPI interface to fetch the corresponding NUMA Node ID for a given amdgpu acpi device πŸ”βœ¨ highkey useful.

Returns ACPI STATUS OK with the Node ID on success, or the corresponding failure reason 😭 β€” so if it doesn't slay, it at least tells you why it didn't slay. fr fr no guessing required.


πŸ¦‹ SEE ALSO

the kernel file that holds all of this: ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c β€” go read it, she ate πŸ’€πŸ“–

and now the full friend group, no cap, every single one of them πŸ‘‡

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_set_uma_allocation_size(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)


and that's the page, bestie πŸ«ΆπŸ’œ this little manual lives at ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and she's officially titled amdgpu_acpi_get_node_id(9) ⭐ β€” stay iconic, read your kernel files, periodt πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from