drm_fb_dma_get_gem_addr(9)
π 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 π
- Kernel file
./drivers/gpu/drm/drm_fb_dma_helper.cframebuffer dma helper functions(9) drm_fb_dma_get_gem_obj(9)drm_fb_dma_sync_non_coherent(9)drm_fb_dma_get_scanout_buffer(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms