amdgpu_devi...irect_rreg64(9)
π amdgpu_device_indirect_rreg64(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, you need one 64-bit value out of an indirect register on your amdgpu device, and nobody's gonna do it for you. that's literally this function. it's giving "small function, big responsibility" β¨
πΈ NAME πΈ
amdgpu_device_indirect_rreg64 β read a 64bits indirect register π
like, sixty-four whole bits. not eight, not thirty-two. sixty-four. she's a big girl register and we're reading all of her, no cap π
β¨ SYNOPSIS β¨
u64 amdgpu_device_indirect_rreg64 (struct amdgpu_device *adev , u32
reg_addr );
that's it. that's the whole vibe. one device, one address, one u64 coming back at you π¦
π«Ά ARGUMENTS π«Ά
adevβ amdgpu_device pointer. this is your main character, the device you're poking at π₯reg_addrβ indirect register address to read from. the exact spot we're snooping,u32style β
π DESCRIPTION π
Returns the value of indirect register reg_addr. periodt. that's the whole job description β she reads, she returns, she doesn't overthink it π
no extra lore, no side quests, no "and then it also..." β just the value of reg_addr, handed to you as a u64 with full main character energy π
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.c β that's where the source lives if you wanna go read her origin story π
and the whole friend group, all iconic, all linked:
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_wreg(9)amdgpu_device_indirect_wreg64(9)
i mean, the way these all show up together every single time β squad goals fr fr π
ngl, if you needed a single 64-bit indirect read, congratulations, you found her. go get that value bestie π
kisses and register reads, this page came out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's part of that Kernel API Manual life β mwah, bye π§π
π¦ 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