amdgpu_device_wreg(9)
π NAME π
okay bestie, this is amdgpu_device_wreg(9) from the Kernel API Manual β¨ β its whole thing is: write to a memory mapped IO or indirect register. That's the assignment, no cap π
.
β¨ SYNOPSIS β¨
void amdgpu_device_wreg (struct amdgpu_device *adev , uint32_t reg ,
uint32_t v , uint32_t acc_flags );
π ARGUMENTS π
adevβ amdgpu_device pointer π«Άregβ dword aligned register offset, periodt.vβ 32 bit value to write to the register πacc_flagsβ access flags which require special behavior β οΈ
πΈ DESCRIPTION πΈ
Writes the value specified to the offset specified. That's it, that's the function β it takes the value and drops it at that offset, iconic behavior only π β¨.
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.cπ§ amdgpu_device_rreg(9)amdgpu_mm_rreg8(9)amdgpu_device_xcc_rreg(9)amdgpu_mm_wreg8(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)amdgpu_device_indirect_wreg64(9)
source/version check, bestie: this page comes from ./drivers/gpu/drm/amd/amdgpu, and the date on it is October 2026 β mwah, catch u later ππ
π¦ 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