amdgpu_gtt_n..._byte_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_gtt_n..._byte_offset β€” Kernel API Manual, section 9 πŸŽ€

okay so bestie, welcome to the kernel API manual ✨ this one is a section 9 page, which is the "kernel internals" corner of the manpage universe β€” very backstage-at-the-show energy, iykyk πŸ¦‹


✨ NAME ✨

amdgpu_gtt_node_to_byte_offset β€” literally returns a byte offset of a gtt node, that's the whole gig πŸ’–


🌸 SYNOPSIS 🌸

u64 amdgpu_gtt_node_to_byte_offset (const struct drm_mm_node *gtt_node
);

so you hand it a const struct drm_mm_node *gtt_node and it gives you back a u64, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • gtt_node β€” ok so the manpage itself says -- undescribed -- 😭 meaning nobody wrote a description for this one. That's it, that's the entry. We respect the honesty ngl πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h β€” the header where the magic lives, go peek πŸ‘‘
  • amdgpu_compute_gart_address(9) β€” its sibling page, highkey worth a read πŸ’œ

friendly reminder bestie: this page is short and the argument is literally marked -- undescribed -- in the source, so don't go inventing lore about it, mkay? πŸ’€

mwah πŸ’‹ that's the whole page! it ships out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's giving very "tiny but iconic" ⭐ slay, periodt πŸ’…πŸŒˆ

πŸ“¦ where this page comes from