drm_fb_dma_get_gem_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_fb_dma_get_gem_addr β€” the kernel API manual, bestie edition πŸŽ€

okay so bestie, you know how we're always talking about drm_fb_dma_get_gem_addr? no? well, sit down, because this one is literally about getting the DMA (bus) address for a framebuffer β€” and here's the slay part: for pixel formats where the values are grouped in blocks, this will get you the beginning of the block. beginning of the block, bestie!! ✨


πŸ¦‹ NAME πŸ¦‹

drm_fb_dma_get_gem_addr β€” Get DMA (bus) address for framebuffer. for pixel formats where values are grouped in blocks this will get you the beginning of the block πŸ’–


🌸 SYNOPSIS 🌸

dma_addr_t drm_fb_dma_get_gem_addr (struct drm_framebuffer *fb , struct
drm_plane_state *state , unsigned int plane );

like, that's the whole signature, no notes πŸ‘‘


🫢 ARGUMENTS 🫢

  • fb β€” The framebuffer. that's her, that's the main character πŸ’…
  • state β€” Which state of drm plane. iykyk 🌈
  • plane β€” Which plane. Return the DMA GEM address for given framebuffer. ⭐
not me putting the return info inside the plane bullet β€” that's literally how the original rolls, so we're keeping it exactly where it lives, no cap πŸ™ˆ

🧚 DESCRIPTION 🧚

This function will usually be called from the PLANE callback functions. that's it, that's the vibe check πŸ¦‹


πŸ‘‘ SEE ALSO πŸ‘‘

go read all of them fr fr, they're all iconic in their own way πŸ’œ


and that's the page!! source is ./drivers/gpu/drm, dated October 2026 β€” honestly obsessed with her, 10/10 no notes πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ˜­πŸ”₯πŸ‘‘πŸŒˆβ­πŸ’€πŸ™ˆπŸ“πŸ§šπŸ’œ

mwah πŸ“

πŸ“¦ where this page comes from