cik_sdma_ctx_switch_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_ctx_switch_enable(9) πŸ’…

okay so bestie, we're in the Kernel API Manual today and this one is a little function with a big job 🫢


✨ NAME ✨

cik_sdma_ctx_switch_enable β€” literally turns the sdma engine preemption on and off, no cap πŸŽ€


🌸 SYNOPSIS 🌸

void cik_sdma_ctx_switch_enable (struct radeon_device *rdev , bool enable );

like, that's it. that's the whole vibe. πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” a radeon_device pointer, i.e. your little handle on the radeon device ✨
  • enable β€” flip preemption on or off. that's the whole switch, bestie 🎚️

πŸ”₯ DESCRIPTION πŸ”₯

it halts β€” or unhalts β€” the async dma engines. on CIK. that's the entire plot 🎬

like, the function is literally the pause/play button for those engines, and honestly? iconic.


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file it lives in is ./drivers/gpu/drm/radeon/cik_sdma.c β€” and here's the whole friend group fr fr:


bestie this page ships out of ./drivers/gpu/drm/radeon and it's dated October 2026 β€” so yeah, from the future, slay πŸ’€βœ¨ bye, ily, go halt some engines πŸ§šβ€β™€οΈπŸ’–
πŸ“¦ where this page comes from