cik_sdma_vm_set_pte_pde(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_vm_set_pte_pde(9) β€” Kernel API Manual, bestie edition πŸŽ€

Okay so real talk: this is a page from the Kernel API Manual and honestly? It's giving "small function, big job." Her whole thing is page-table updates via sDMA, and she ate. Let's get into it ✨


🌸 NAME 🌸

cik_sdma_vm_set_pte_pde β€” updates the page tables using sDMA. That's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

void cik_sdma_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe ,
       uint64_t addr , unsigned count , uint32_t incr , uint64_t flags );

Like, she takes six args and returns nothing (void), so don't go looking for a return value, she doesn't have one πŸ’€


🫢 ARGUMENTS 🫢

  • ib β€” the indirect buffer you're filling up with commands. She needs somewhere to put the work ✍️
  • pe β€” the addr of the page entry. Yes, the page entry. That one πŸ“
  • addr β€” the dst addr to write into pe. So it's the destination address that goes inside the page entry, iykyk 🎯
  • count β€” how many page entries we're updating. Not one, not two, literally count of them πŸ‘‘
  • incr β€” bump the next addr by incr bytes as you go. It's the step size, the lil glow-up between iterations 🌈
  • flags β€” the access flags. Permissions energy πŸ”

πŸ’œ DESCRIPTION πŸ’œ

Update the page tables using sDMA (CIK). That's the whole description, no cap β€” she's short, she's sweet, she's doing page-table maintenance on CIK hardware and she's not gonna over-explain herself πŸ’…


🌟 SEE ALSO 🌟

The kernel file that she actually lives in, fr fr:

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

And her whole friend group (the cik_sdma / cik squad, collecting them like stickers πŸ“):

Like. The whole roster. Go read them, they're all lowkey iconic 🧚


And that's the page, bestie! Live love page-table-updating-via-sDMA. Sending you off with the full receipt: this one lives under ./drivers/gpu/drm/amd/amdgpu, dated October 2026, from the Kernel API Manual. Mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from