drm_buddy_print(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_buddy_print(9) πŸ’…

okay so welcome to the Kernel API Manual bestie, section 9, and today's main character is drm_buddy_print β€” yes we're literally printing allocator state, it's giving debug-tool excellence πŸŽ€


✨ NAME ✨

drm_buddy_print β€” print allocator state πŸ–¨οΈβœ¨

🌸 SYNOPSIS 🌸

void drm_buddy_print (struct gpu_buddy *mm , struct drm_printer *p );

no cap, that's the whole signature β€” void, two args, zero drama 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mm β€” the DRM buddy manager πŸ‘‘ like, this is the buddy manager we're snooping on
  • p β€” the DRM printer to use πŸ–¨οΈ this is the printer it's gonna print through

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/gpu/drm/drm_buddy.c πŸ“ the source, go read it iykyk
  • drm_buddy_block_print(9) 🧚 the sibling function, also iconic

bestie reminder: this page is about printing allocator state, so if you came here for allocation logic... wrong page babes, but the SEE ALSO has your back πŸ’…

and that's the whole page, periodt ✨ this little writeup lives in ./drivers/gpu/drm 🌈 dated October 2026 πŸŽ€ and it's page drm_buddy_print(9) of the Kernel API Manual β€” slay, go print some buddy state πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from