amdgpu_devi...irect_wreg64(9)
β¨ amdgpu_devi...irect_wreg64(9) β¨
okay so this is a page straight out of the Kernel API Manual (yes, the kernel has its own manual, she's iconic) and today's main character is amdgpu_device_indirect_wreg64 π
π NAME π
amdgpu_device_indirect_wreg64 β write a 64bits indirect register address β¨
Like, that's literally the whole job. She writes a 64-bit indirect register address. No cap. π«Ά
πΈ SYNOPSIS πΈ
void amdgpu_device_indirect_wreg64 (struct amdgpu_device *adev , u32 reg_addr , u64 reg_data );
that's the whole signature bestie, she's lowkey elegant about it π¦
π ARGUMENTS π
adevβ amdgpu_device pointer π this is your ticket to the GPU's whole vibe, you literally cannot do anything without herreg_addrβ indirect register offset π where you're pointing, the address part of the situationreg_dataβ indirect register data π the actual 64-bit payload you're yeeting in there
π SEE ALSO π
the whole friend group fr fr, they all hang out in the kernel file:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.cβ that's home base, where the code actually lives π amdgpu_device_rreg(9)amdgpu_mm_rreg8(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)
ok like not me listing the entire squad π every single one of them, no skips, we don't leave anyone out of the group chat π
heads up bestie: this is the 64-bit indirect write β read those SEE ALSO entries before you go poking registers, iykyk π
and that's the page!! brought to you by ./drivers/gpu/drm/amd/amdgpu (the source, periodt), dated October 2026, filed under amdgpu_devi...irect_wreg64(9) β slay, go write some registers responsibly π§ββοΈβ
π¦ 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