radeon_vm_map_gart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… radeon_vm_map_gart(9) β€” a lil' page from the Kernel API Manual

okay so bestie, welcome to radeon_vm_map_gart ✨ this is the little kernel API function that goes and gets you the physical address of a gart page, and honestly? she's short but she delivers. πŸŽ€


🌸 NAME 🌸

radeon_vm_map_gart β€” get the physical address of a gart page πŸ’–


✨ SYNOPSIS ✨

uint64_t radeon_vm_map_gart (struct radeon_device *rdev , uint64_t addr
);

like, she takes two things and hands you back a uint64_t. that's it. that's the whole vibe check. πŸ¦‹


🫢 ARGUMENTS 🫢

  • rdev β€” a radeon_device pointer, aka your main character. she's the device you're working with, no cap. πŸ‘‘
  • addr β€” the unmapped addr. literally the address that hasn't been mapped yet, and you're like "hey bestie what's the physical page behind this?" πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea: this function looks up the physical address of the page that the pte resolves to β€” and heads up, this is for cayman+, so if you're on older hardware this isn't your era, iykyk. πŸ’€

Then it returns the physical address of the page. that's it. she looks it up, she gives it to you. iconic behavior, honestly. 🌟

ngl, the whole function is basically "find the page, return the page" and I respect the commitment to not overcomplicating things. slay. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/radeon/radeon_vm.c β€” go read her, she's the source of truth fr fr. πŸ“–

And the whole vm fam, because they all run together:

like, that's the whole group chat. say hi to all of them. 🫢✨


πŸŽ€ sign-off πŸŽ€

this lil' page lives under ./drivers/gpu/drm/radeon in the Kernel API Manual, dated October 2026, and it's filed as radeon_vm_map_gart(9) β€” so if you ever need her again she's right there, no cap. bye bestie, go map some gart pages πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from