si_dma_vm_write_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– si_dma_vm_write_pte πŸ’–

okay so welcome to the Kernel API Manual, section 9, bestie β€” this page is all about si_dma_vm_write_pte, and it is literally here to update PTEs by writing them manually. slay. ✨


🌸 NAME 🌸

si_dma_vm_write_pte β€” update PTEs by writing them manually. no cap, that's the whole assignment. πŸŽ€


✨ SYNOPSIS ✨

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

πŸ’… ARGUMENTS πŸ’…

  • ib β€” indirect buffer to fill with commands. fill it up, bestie 🫢
  • pe β€” addr of the page entry.
  • value β€” dst addr to write into pe.
  • count β€” number of page entries to update.
  • incr β€” increase next addr by incr bytes.

πŸ¦‹ DESCRIPTION πŸ¦‹

Update PTEs by writing them manually using DMA (SI). that's it, that's the vibe β€” manual PTE writing, DMA edition, SI girlies rise πŸ’…βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/amd/amdgpu/si_dma.c β€” go peek, iykyk πŸ‘€


mwah πŸ’– this iconic little page comes from ./drivers/gpu/drm/amd/amdgpu and is dated October 2026 β€” periodt, go write those PTEs manually bestie πŸ’…πŸŒˆβœ¨

πŸ“¦ where this page comes from