sdma_v5_2_ctx_switch_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v5_2_ctx_switch_enable β€” the Kernel API Manual, bestie edition ✨

okay so you're reading the sdma_v5_2_ctx_switch_enable(9) page from the Kernel API Manual and honestly? slay. you came to the right place. we're gonna get you fluent in this one, no cap 🫢


🌸 NAME 🌸

sdma_v5_2_ctx_switch_enable β€” lowkey stops the async dma engines context switch πŸ›‘

like yes that's the whole name section, it ate and left no crumbs.


✨ SYNOPSIS ✨

void sdma_v5_2_ctx_switch_enable (struct amdgpu_device *adev , bool
enable );

it returns void, meaning it gives you nothing back, and it's fine, it's on its ✨ main character energy ✨ journey.


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” an amdgpu_device pointer. it's giving "here's my whole device, bestie, handle it" πŸ’œ
  • enable β€” a bool that says whether to enable/disable the DMA MEs context switch. literally the on/off switch for the vibe check πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Halt or unhalt the async dma engines context switch. that's it, that's the tea β˜• β€” you're pausing it or you're un-pausing it, no in between, no "it's complicated".


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c β€” that's the source, go be nosy, iykyk 🧚

and here's the whole friend group, all of them (9), all of them iconic:


and that's the page, bestie πŸ’– this little gem lives in ./drivers/gpu/drm/amd/amdgpu, it's dated October 2026, and it's filed under sdma_v5_2_ctx_switch_enable(9) in the Kernel API Manual β€” go forth and context-switch responsibly πŸ¦‹βœ¨

πŸ“¦ where this page comes from