smu_alloc_memory_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smu_alloc_memory_pool(9) πŸ’–

okay so bestie, this is the Kernel API Manual page for smu_alloc_memory_pool β€” manual name folded in right at the top like a little name tag, because we're cute AND organized. 🫢

🌸 NAME 🌸

smu_alloc_memory_pool β€” allocate memory pool in the system memory. Short, sweet, and to the point. πŸ’…

✨ SYNOPSIS ✨

int smu_alloc_memory_pool (struct smu_context *smu );

Not me preserving the exact spacing in that signature β€” code gets copied character-for-character, periodt. πŸŽ€

πŸŽ€ ARGUMENTS πŸŽ€

  • smu β€” amdgpu_device pointer. That's the one argument, bestie; she takes the pointer and goes. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

This memory pool will be used for SMC use and msg. SetSystemVirtualDramAddr and DramLogSetDramAddr can notify it changed. Those two exact names are giving important notification energy, so don't go renaming them, iykyk. ✨

It returns 0 on success, error on failure. Zero is the slay outcome; anything else means something went sideways. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c β€” the source is right there if you wanna peek. 🫢

The related-manpage friend group:


mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm/amd/pm/swsmu; date: October 2026. This footer info is living in the cute sign-off instead of a copied footer line, and the page is smu_alloc_memory_pool(9), obviously. πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from