STRUCT DRM_INFO_NODE(9)
β¨ 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β thestruct drm_minorthat 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms