drm_gem_dma...t_print_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 printing
  • indent β€” the tab indentation level 🌈 so like how far in we're printing, tab-wise
  • obj β€” 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 πŸ¦‹


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