drm_fb_dma_s...non_coherent(9)
π drm_fb_dma_s...non_coherent(9) β Kernel API Manual, section 9
okay so bestie, welcome to the glow-up era of this lil kernel API page β¨ this one lives in the Kernel API Manual, section 9, and it's genuinely so niche but so real.
π NAME π
drm_fb_dma_sync_non_coherent β sync a GEM object to non-coherent backing memory. that's it, that's the whole vibe π«Ά
β¨ SYNOPSIS β¨
void drm_fb_dma_sync_non_coherent (struct drm_device *drm , struct
drm_plane_state *old_state , struct drm_plane_state *state );
no cap, that's the exact signature, character for character π
πΈ ARGUMENTS πΈ
drmβ the DRM device. your main character, lowkey πold_stateβ the old plane state. the before pic πstateβ the new plane state. the after pic β¨
π¦ DESCRIPTION π¦
okay so here's the tea: this function is for drivers that use damage clips and have DMA GEM objects backed by non-coherent memory. very specific combo, we love a niche icon π
call this function in a plane's .atomic_update and it makes sure that all the data in the backing memory has been written to RAM. literally that's the whole job, and it ate π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_fb_dma_helper.cβframebuffer dma helper functions(9) drm_fb_dma_get_gem_obj(9)drm_fb_dma_get_gem_addr(9)drm_fb_dma_get_scanout_buffer(9)
iykyk, go read the whole friend group π
β reminder: the behaviour above is exactly what the page says β no extra lore, no invented tips, fr fr.
and that's a wrap, bestie π this page belongs to ./drivers/gpu/drm, dated October 2026, filed under drm_fb_dma_s...non_coherent(9) β mwah, periodt π
π
π¦ 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