amdgpu_debu...gs_didt_read(9)
π amdgpu_debugfs_regs_didt_read β Kernel API Manual β¨
okay so bestie, welcome to the amdgpu_debugfs_regs_didt_read(9) page π this one lives in the Kernel API Manual and it's lowkey a little icon: it reads from a DIDT register. that's it, that's the vibe. let's get into it π«Ά
β¨ NAME β¨
amdgpu_debugfs_regs_didt_read β read from a DIDT register π
πΈ SYNOPSIS πΈ
ssize_t amdgpu_debugfs_regs_didt_read (struct file *f , char __user *buf
, size_t size , loff_t *pos );
π¦ ARGUMENTS π¦
fβ the open file handle, aka the whole entry point, no cap π₯bufβ user buffer where the read data gets stored, that's her job πsizeβ how many bytes we're reading, literally the number of bytesposβ the offset to seek to, slay β
π DESCRIPTION π
so here's the tea β the lower bits are the BYTE offset of the register you want to read. and the way that matters is: this lets you read multiple registers in a single call, and the returned size reflects that π iconic behavior honestly. one call, many registers, size tells you what you actually got. periodt β¨
π SEE ALSO π
the kernel file, bestie:
./drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
and the whole friend group π«Ά :
amdgpu_debugfs_process_reg_op(9)amdgpu_debugfs_regs_pcie_read(9)amdgpu_debugfs_regs_pcie_write(9)amdgpu_debugfs_regs_pcie64_read(9)amdgpu_debugfs_regs_pcie64_write(9)amdgpu_debugfs_regs_didt_write(9)amdgpu_debugfs_regs_smc_read(9)amdgpu_debugfs_regs_smc_write(9)amdgpu_debugfs_gca_config_read(9)amdgpu_debugfs_sensor_read(9)amdgpu_debugfs_gfxoff_residency_read(9)amdgpu_debugfs_gfxoff_residency_write(9)amdgpu_debugfs_gfxoff_count_read(9)amdgpu_debugfs_gfxoff_write(9)amdgpu_debugfs_gfxoff_read(9)amdgpu_debugfs_regs_init(9)
that's the whole page, and honestly? she ate ππ
sign-off time: this lil masterpiece comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and yeah β that's the source, that's the version, that's the date. mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms