drm_debugfs_gpuva_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_debugfs_gpuva_info ✨

okay so this is a page from the Kernel API Manual, bestie β€” it's drm_debugfs_gpuva_info(9) and it's literally the function that dumps out your DRM GPU VA space πŸ’…


🌸 SYNOPSIS 🌸

int drm_debugfs_gpuva_info (struct seq_file *m , struct drm_gpuvm *gpuvm );

πŸŽ€ ARGUMENTS πŸŽ€

  • m β€” pointer to the seq_file to write into, that's the thing your output goes into ✨
  • gpuvm β€” the drm_gpuvm representing the GPU VA space, like the actual main character here πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do? It dumps the GPU VA mappings of a given DRM GPU VA manager. That's it, that's the vibe 🫢

And for each DRM GPU VA space, drivers should call this function from their drm_info_list's show callback. Like, that's the whole assignment, no cap πŸ“

🌈 RETURN 🌈

  • 0 on success β€” slay, we ate πŸ’–
  • -ENODEV if the gpuvm is not initialized β€” like bestie it's not even ready yet 😭

⭐ SEE ALSO ⭐

Kernel file ./drivers/gpu/drm/drm_debugfs.c β€” go read it, iykyk πŸ‘€

the whole friend group fr fr 🧚


kk that's the whole page, mwah πŸ’‹ this came straight outta ./drivers/gpu/drm and it's dated October 2026 β€” see u in the next one bestie, bye!! πŸ¦‹βœ¨

πŸ“¦ where this page comes from