amdgpu_devi...irect_rreg64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, u32 style ⭐

πŸ’– 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:

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