STRUCT AMDGPU_UMA_CARVEOUT_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct amdgpu_uma_carveout_info(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so like, hi?? we're reading a Kernel API Manual page today and honestly it's giving "niche but iconic." The star of the show is struct amdgpu_uma_carveout_info, and she is literally just a table of all the available UMA carveout options. That's it, that's the vibe. No cap. πŸ¦‹


✨ NAME ✨

struct amdgpu_uma_carveout_info β€” table of available UMA carveout options


🌸 SYNOPSIS 🌸

struct amdgpu_uma_carveout_info {
    uint8_t num_entries;
    uint8_t uma_option_index;
    struct mutex update_lock;
    struct amdgpu_uma_carveout_option entries[MAX_UMA_OPTION_ENTRIES];
 };

πŸ‘‘ MEMBERS πŸ‘‘

  • num_entries β€” the number of available options. like, how many choices we're working with, periodt. πŸ’…
  • uma_option_index β€” the index of the option that's currently applied. i.e. which one is main character right now. ⭐
  • update_lock β€” a lock (struct mutex) to serialize changes to the option. bestie this is the bouncer at the club so two people don't change the option at the same time and cause chaos πŸ˜­πŸ™ˆ
  • entries β€” the array of carveout options. it's struct amdgpu_uma_carveout_option entries[MAX_UMA_OPTION_ENTRIES]; β€” the whole lineup, slay. πŸ”₯

🫢 SEE ALSO 🫢

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h
  • struct amdgpu_uma_carveout_option(9)

like go read those if you wanna keep the lore going, iykyk πŸ’œ


✨ and that's the whole page bestie ✨ this cutie lives under ./drivers/gpu/drm/amd/amdgpu, it's dated October 2026, and the source/version is all that same ./drivers/gpu/drm/amd/amdgpu Kernel API Manual energy β€” mwah, no notes, bye πŸŽ€πŸ’–πŸŒˆ

πŸ“¦ where this page comes from