drm_gem_dma...t_print_info(9)
πΈ drm_gem_dma_object_print_info(9) β a Kernel API Manual moment πΈ
okay bestie, so we're in the Kernel API Manual today and the star of the show is drm_gem_dma_object_print_info π
it's giving debugfs energy, it's giving "print my object info", and honestly? iconic.
β¨ NAME β¨
drm_gem_dma_object_print_info β prints &drm_gem_dma_object info for debugfs π
like yes, it literally exists to print object info, and it does it for debugfs. no cap.
β¨ SYNOPSIS β¨
void drm_gem_dma_object_print_info (struct drm_printer *p , unsigned int
indent , const struct drm_gem_object *obj );
copy it exactly, bestie, character for character π
β¨ ARGUMENTS β¨
pβ the DRM printer π¨οΈ that's your printer, that's who's doing the printingindentβ the tab indentation level π so like how far in we're printing, tab-wiseobjβ the GEM object π the object itself, the main character
β¨ DESCRIPTION β¨
okay so here's the tea π this function wraps drm_gem_dma_print_info. that's it, that's the vibe.
and the important part: drivers that employ the DMA helpers should use this function as their drm_gem_object_funcs.print_info handler π like, that's the whole assignment. that's the handler slot. you use this one. periodt.
β¨ SEE ALSO β¨
go read these too, bestie, they're all in the Kernel file ./include/drm/drm_gem_dma_helper.h π¦
- struct
drm_gem_dma_object(9) drm_gem_dma_object_free(9)drm_gem_dma_object_get_sg_table(9)drm_gem_dma_object_mmap(9)DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(9)DRM_GEM_DMA_DRIVER_OPS(9)DRM_GEM_DMA_DRIVER_OPS_VMAP_WITH_DUMB_CREATE(9)DRM_GEM_DMA_DRIVER_OPS_VMAP(9)DEFINE_DRM_GEM_DMA_FOPS(9)
lowkey, shoutout to the source: ./include/drm π and the date on this whole thing is October 2026 β so yeah, you're reading a manpage from the future, slay.
mwah, go print some object info bestie ππ§ββοΈ
π¦ 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