drm_show_fdinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_show_fdinfo(9) ✨

okay so this is a page from the Kernel API Manual and it's literally about drm_show_fdinfo β€” the helper for drm file fops πŸ’… bestie, let's get into it.


🌸 NAME 🌸

drm_show_fdinfo β€” helper for drm file fops. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void drm_show_fdinfo (struct seq_file *m , struct file *f );

πŸ’– ARGUMENTS πŸ’–

  • m β€” the output stream, aka where all the text goes 🫢
  • f β€” the device file instance, the actual file we're snooping on πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

so this function is the helper you use to implement fdinfo β€” you know, the thing that lets userspace come thru and query usage stats and all that good stuff about a process that's using the GPU πŸ‘€βœ¨

also go check out drm_driver.show_fdinfo while you're at it, iykyk.

for the whole text output format description situation, please see Documentation/gpu/drm-usage-stats.rst β€” the docs ate, no cap πŸ’œ


⭐ SEE ALSO ⭐

okay these are all the references, don't skip 'em, they're all important fr fr 🧚

and that's the whole page, bestie 🌈 this lil drop lives in ./drivers/gpu/drm πŸ“ and it's dated October 2026 ⭐ mwah, love that for us β€” go read some kernel source, you're literally the main character of the GPU stats world πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from