amdgpu_devi...irect_wreg64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 her
  • reg_addr β€” indirect register offset πŸ“ where you're pointing, the address part of the situation
  • reg_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:

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