sdma_v6_0_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v6_0_enable(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual, and today's main character is sdma_v6_0_enable πŸ’– this one lives way down in the amdgpu mines and honestly? it's giving "small function, big responsibility" energy.


✨ NAME ✨

sdma_v6_0_enable β€” stop the async dma engines πŸ›‘

(yes, the NAME says stop but the DESCRIPTION says halt or unhalt β€” we love a dual-threat icon, more on that below πŸ‘€)


🌸 SYNOPSIS 🌸

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

no return value, no drama, just vibes and a void 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” amdgpu_device pointer πŸ’« like, the whole GPU device situation, handed to you as a pointer
  • enable β€” enable/disable the DMA MEs 🧚 this little bool is literally the whole switch: flip it and the DMA MEs go one way or the other

πŸ¦‹ DESCRIPTION πŸ¦‹

Halt or unhalt the async dma engines. ✨ that's it, that's the function. it's a pause/unpause button for the async dma engines β€” press it and they stop, press it the other way and they un-stop. no cap.

fr fr the enable flag is doing all the emotional labour here, so mind what you pass πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file it lives in:

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

and the whole friend group (ngl this squad is stacked):

like I said. stacked. 🌈


before you go β€” the source/version line on this page is ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026, so if you're reading this from the future: hi bestie, hope the DMA MEs are behaving πŸ’œ

okay bye, go halt something (or unhalt it), ily πŸŽ€πŸ”₯

πŸ“¦ where this page comes from