amdgpu_mm_rreg8(9)
β¨ amdgpu_mm_rreg8 β¨
okay so bestie, welcome to the amdgpu_mm_rreg8(9) page from the Kernel API Manual β it's a tiny little function that reads a memory mapped IO register and honestly? she's short but she serves. π
πΈ NAME πΈ
amdgpu_mm_rreg8 β read a memory mapped IO register π«Ά
π SYNOPSIS π
uint8_t amdgpu_mm_rreg8 (struct amdgpu_device *adev , uint32_t offset );
like, that's the whole vibe. one function, two args, one uint8_t coming back at you. π¦
π ARGUMENTS π
adevβ anamdgpu_devicepointer, aka your lil handle to the device, no cap πoffsetβ the register offset, and it's byte aligned β don't be out here handing her a misaligned offset, that's not the move π
π DESCRIPTION π
Returns the 8 bit value from the offset you specified. that's it. that's the whole function. short queen behavior, honestly πβ¨
not me appreciating how a whole manpage can be one sentence β iconic. π
π§ SEE ALSO π§
okay so the source lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.c and here's the whole friend group, fr fr:
amdgpu_device_rreg(9)amdgpu_device_xcc_rreg(9)amdgpu_mm_wreg8(9)amdgpu_device_wreg(9)amdgpu_mm_wreg_mmio_rlc(9)amdgpu_device_xcc_wreg(9)amdgpu_device_indirect_rreg(9)amdgpu_device_indirect_rreg64(9)amdgpu_device_indirect_wreg(9)amdgpu_device_indirect_wreg64(9)
go read the rest of them, iykyk π
and that's the page!! sign-off time: this lil beauty comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the amdgpu_mm_rreg8(9) manual page β periodt. stay aligned, bestie, and go read some registers π
πΊ
π¦ 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