amdgpu_bo_print_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_bo_print_info(9) ✨

okay so bestie, we're in the Kernel API Manual today and this page is literally all about amdgpu_bo_print_info β€” yeah that's a mouthful, i know πŸ’… it's a kernel function that prints BO info into a debugfs file. short king of a manpage, but we're gonna give it the full main character treatment 🫢


🌸 NAME 🌸

amdgpu_bo_print_info β€” print BO info in debugfs file ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

u64 amdgpu_bo_print_info (int id , struct amdgpu_bo *bo , struct
       seq_file *m );

like, that's the whole signature. three args, returns a u64, no cap πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” Index or Id of the BO. yes bestie, it needs to know which one πŸ‘‘
  • bo β€” Requested BO for printing info. this is the actual buffer object we're spilling the tea about πŸ“
  • m β€” debugfs file. the place where all the info gets written πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

Print BO information in debugfs file. that's it, that's the vibe β€” it takes a BO and dumps its info out into the debugfs file. iconic, lowkey, does exactly what it says on the tin ✨


🌈 RETURN 🌈

Size of the BO in bytes. fr fr, that's what comes back πŸ’…


⭐ SEE ALSO ⭐

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β€” go read the source bestie, it's giving lore πŸ“–

and the whole friend group of related pages, all of them, not skipping a single one 😭:


heads up bestie 🫢 this page lives under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” that's the source/version and date, consider it your little timestamp receipt πŸ’Œ

okay that's the whole page, mwah, go read some buffer object source code, ily πŸ’–πŸ§š

πŸ“¦ where this page comes from