STRUCT DRM_INFO_NODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct drm_info_node(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a tiny little struct page from struct drm_info_node(9)</pink>, and it's honestly short but kind of iconic. Let's get into it πŸŽ€


🌸 NAME 🌸

struct drm_info_node β€” the per-minor debugfs node structure, aka the little guy that knows which card you're looking at πŸ¦‹


✨ SYNOPSIS ✨

struct drm_info_node {
    struct drm_minor *minor;
    const struct drm_info_list *info_ent;
 };

πŸ’… MEMBERS πŸ’…

  • minor β€” the struct drm_minor that this node belongs to. it's giving "which one is mine" energy πŸ‘‘
  • info_ent β€” the template for this node ✨ like, the blueprint it got built from.

πŸ¦‹ DESCRIPTION πŸ¦‹

So this struct represents a debugfs file, and the way it works is it's basically an instantiation of a struct drm_info_list sitting on a struct drm_minor. two things, fused, one node 🫢

FIXME: 🚨 bestie listen β€” it genuinely does not make a hole lot of sense that we duplicate debugfs entries for both the render and the primary nodes. that's just how this has organically grown 🌱 it should probably be fixed, with a compatibility link, if needed. no cap, it's a known vibe πŸ’€

🧚 SEE ALSO 🧚

  • Kernel file ./include/drm/drm_debugfs.h
  • DRM_DEBUGFS_GPUVA_INFO(9)
  • struct drm_info_list(9)
  • struct drm_debugfs_info(9)
  • struct drm_debugfs_entry(9)

go read those too, they're lowkey required reading 🌈


and that's the whole page, bestie!! πŸ“ courtesy of ./include/drm, dated October 2026, and yes the page itself is literally titled struct drm_info_node(9). mwah πŸ’‹ see u in the next manpage πŸ‘‹πŸ’œ

πŸ“¦ where this page comes from