drm_gem_shm...t_print_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gem_shm...t_print_info(9) πŸ’…

okay so this is a page from the Kernel API Manual, bestie, and it's about one very specific little function. it's not glamorous, but it is iconic in its own lowkey way ✨


🌸 NAME 🌸

drm_gem_shmem_object_print_info β€” the function that prints out your &drm_gem_shmem_object info, specifically for debugfs πŸŽ€


✨ SYNOPSIS ✨

void drm_gem_shmem_object_print_info (struct drm_printer *p , unsigned int indent , const struct drm_gem_object *obj );

like, that's the whole signature. no cap, it returns void β€” nothing comes back, it just does the thing 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • p β€” your DRM printer, the little guy doing the actual printing πŸ’–
  • indent β€” the tab indentation level, so your output looks cute and nested instead of all chaotic πŸ™ˆ
  • obj β€” the GEM object in question, the main character of this whole operation πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so what does it actually do? it wraps drm_gem_shmem_print_info. that's it. that's the vibe πŸ’€

the important part, and this is the part you need to remember for the exam: drivers that employ the shmem helpers should use this function as their drm_gem_object_funcs.print_info handler. literally just plug it in and let it cook πŸ“


🌈 SEE ALSO 🌈

like, go read those too if you wanna be a well-rounded Unix girlie πŸ’œ they're all right there in the same file, iykyk.


and that's the whole page, bestie 🧚 this little beauty lives over in ./include/drm, dated October 2026, and it ate, fr fr. go forth and print your shmem info πŸ’…πŸ’–

πŸ“¦ where this page comes from