STRUCT DRM_INFO_LIST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drm_info_list(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the glow-up of this page πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

struct drm_info_list β€” debugfs info list entry. no cap, that's literally the whole name 🫢

✨ SYNOPSIS ✨

here's the exact struct, bestie β€” don't touch the spelling:

       struct drm_info_list {
           const char *name;
           int (*show)(struct seq_file*, void*);
           u32 driver_features;
           void *data;
        };

🫢 Members 🫢

  • name β€” file name. yes, literally the file name πŸ“
  • show β€” Show callback. seq_file->private will be set to the struct drm_info_node corresponding to the instance of this info on a given struct drm_minor. it's giving callback-with-context energy ✨
  • driver_features β€” required driver features for this entry. it's the driver-features requirement, periodt βœ…
  • data β€” driver-private data, and it should not be device-specific. keep it driver-private, bestie, not device-specific πŸ™ˆ

🌸 Description 🌸

This structure represents a debugfs file to be created by the drm core. like, that's the whole blueprint vibe β€” drm core makes the debugfs file, and this struct is the entry representing it πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/drm/drm_debugfs.h β€” go read it, bestie πŸ‘€
  • DRM_DEBUGFS_GPUVA_INFO(9)
  • struct drm_info_node(9)
  • struct drm_debugfs_info(9)
  • struct drm_debugfs_entry(9)

and that's the page! cute little footer sign-off: from ./include/drm, dated October 2026, with the title tag struct drm_info_list(9) β€” bye bestie, mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from