drm_gem_shmem_print_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gem_shmem_print_info(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function from the DRM/graphics side of the kernel and honestly? she's a supporting character with main character energy πŸ‘‘


🌸 NAME 🌸

drm_gem_shmem_print_info β€” literally just prints out info about a &drm_gem_shmem_object for debugfs 🫢 that's it, that's the whole job, and she does it slayfully


✨ SYNOPSIS ✨

void drm_gem_shmem_print_info (const struct drm_gem_shmem_object *shmem
, struct drm_printer *p , unsigned int indent );

no cap, that's the whole signature πŸ’– returns void, meaning she gives you nothing back β€” her gift is the information, iykyk 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • shmem β€” the shmem GEM object in question πŸ¦‹ this is the thing we're spilling the tea about
  • p β€” the DRM printer 🌸 this is where the output goes, she's the messenger
  • indent β€” tab indentation level πŸ’… how far over she sits in the debugfs output, because formatting matters and we are obsessed with a clean layout

πŸ‘‘ SEE ALSO πŸ‘‘

the whole shmem friend group, fr fr β€” go say hi to all of them:


🫢 friendly reminder that this is a kernel API function, so treat her with respect β€” she's not out here doing vibes-based error handling for you 😭

and that's the page, bestie πŸ’œ brought to you by ./drivers/gpu/drm, October 2026, Kernel API Manual era β€” periodt, go read some source code πŸ”₯🧚

πŸ“¦ where this page comes from