amdgpu_debug...f_count_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hiii bestie!! You're on the amdgpu_debug...f_count_read(9) page of the Kernel API Manual, and it's giving tiny-but-iconic debugfs read energy. The actual function is amdgpu_debugfs_gfxoff_count_read, and its whole job is Read GFXOFF entry count. Periodt. ✨

✨ SYNOPSIS ✨

ssize_t amdgpu_debugfs_gfxoff_count_read (struct file *f , char __user
*buf , size_t size , loff_t *pos );

πŸŽ€ ARGUMENTS πŸŽ€

okay so here are the four cuties this function takes:

  • f β€” open file handle
  • buf β€” User buffer to store read data in
  • size β€” Number of bytes to read
  • pos β€” Offset to seek to

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c

If you're doing a little deep dive, these besties are right there too:


Byeee bestie 🫢 this page's source/version is ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the manual name on the label is amdgpu_debug...f_count_read(9). mwah πŸ’‹

πŸ“¦ where this page comes from