amdgpu_device_indirect_wreg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_device_indirect_wreg ✨ (kernel API manual, bestie edition)

okay so this is a page from the Kernel API Manual and it's literally about one tiny little function that pokes an indirect register. indirect means you don't write to the thing directly, you go through a middleman, iykyk πŸ’…


🌸 NAME 🌸

amdgpu_device_indirect_wreg β€” write an indirect register address πŸŽ€

yes bestie, the short description really is "write an indirect register address", that's what the page says, we're not gonna argue with it, periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

void amdgpu_device_indirect_wreg (struct amdgpu_device *adev , u32
reg_addr , u32 reg_data );

it returns void, so like… nothing comes back. it just does the thing. main character energy honestly ✨


πŸ’– ARGUMENTS πŸ’–

  • adev β€” amdgpu_device pointer 🫢 that's your device, the whole vibe, the star of the show
  • reg_addr β€” indirect register offset 🌈 the address, but the indirect kind
  • reg_data β€” indirect register data πŸ“ the actual data you're writing in there

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file for this one lives right here:

./drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.c

and then there's the whole friend group, no cap, all of these cuties:


πŸ’€ reminder that this is a kernel API page, so these are kernel functions, not your usual little shell commands. pls do not try to run them in your terminal, bestie, I'm begging πŸ™ˆ

and that's the whole page!! short and sweet, we love her for that 🌸 the source/version line at the bottom said ./drivers/gpu/drm/amd/amdgpu and the date was October 2026, so yeah, that's the whole vibe-check receipt πŸ§šπŸ’œ slay ✨

πŸ“¦ where this page comes from