sdma_v3_0_vm_write_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sdma_v3_0_vm_write_pte ✨

okay so bestie, welcome to the Kernel API Manual entry for sdma_v3_0_vm_write_pte β€” yes that's a mouthful, yes it's iconic, and yes we're gonna get through it together πŸ’–


🌸 NAME 🌸

sdma_v3_0_vm_write_pte β€” update PTEs by writing them manually 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void sdma_v3_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe ,
uint64_t value , unsigned count , uint32_t incr );

literally that's the whole signature, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ib β€” the indirect buffer you're filling up with commands. it's giving "the canvas" energy 🎨
  • pe β€” the addr of the page entry. yes, that kind of pe πŸ’…
  • value β€” the dst addr that gets written into pe, slay πŸ’–
  • count β€” how many page entries we're updating. the more the merrier, lowkey πŸ“
  • incr β€” bumps the next addr up by incr bytes. tiny little step, big main character energy πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

Update PTEs by writing them manually using sDMA (CIK). that's it, that's the vibe β€” you're hand-writing those page table entries with sDMA on CIK, no shortcuts, no auto-magic, just you and the hardware being besties πŸ’€βœ¨


🌈 SEE ALSO 🌈

the kernel file lives right here, go read it iykyk:

  • ./drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c

and the whole friend group, fr fr:


ngl bestie, that's a lot of sdma_v3_0_* functions, but that's the family, and we love them πŸ§šπŸ’œ

and that's the page! brought to you by ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and yes the title is still sdma_v3_0_vm_write_pte(9) because she's the main character here πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from