cik_sdma_vm_copy_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_vm_copy_pages(9) β€” like, the kernel API manual bestie ✨

okay so welcome to the Kernel API Manual, page cik_sdma_vm_copy_pages(9) πŸŽ€ yes the title is also the name, that's just how these pages roll, no notes πŸ’–


🌸 NAME 🌸

cik_sdma_vm_copy_pages β€” update PTEs by copying them from the GART, literally that's the whole gig 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void cik_sdma_vm_copy_pages (struct radeon_device *rdev , struct
       radeon_ib *ib , uint64_t pe , uint64_t src , unsigned count );

it's giving "void function, no return value, we just vibe and do the work" πŸ’€βœ¨


πŸ’œ ARGUMENTS πŸ’œ

  • rdev β€” a radeon_device pointer, i.e. the whole graphics device situation πŸ‘‘
  • ib β€” the indirect buffer we're filling with commands, she's the canvas fr fr 🎨
  • pe β€” addr of the page entry, that's the spot we're aiming at 🎯
  • src β€” src addr to copy from, the origin story 🌈
  • count β€” number of page entries to update, so like, how many we're doing in one go ✨

πŸ”₯ DESCRIPTION πŸ”₯

So what it does: updates PTEs by copying them from the GART using sDMA (CIK). That's it, that's the whole tea β˜•πŸ’… no cap, it's a short one and she ate πŸ“

heads up bestie, this is the CIK flavour specifically β€” the (CIK) is right there in the description and it's not decorative 😭

🧚 SEE ALSO 🧚

bestie the whole friend group is here, all living in the kernel file ./drivers/gpu/drm/radeon/cik_sdma.c 🌸 go say hi to:


and that's the page!! πŸ’– sign-off time: this lil masterpiece lives in ./drivers/gpu/drm/radeon and it's dated October 2026 ⭐ periodt, go read the source, ily, bye πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from