sdma_v5_2_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdma_v5_2_enable(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is a lil' page about one function, and honestly? it's giving "small but mighty". let's get into it 🫢


✨ NAME ✨

sdma_v5_2_enable β€” stop the async dma engines 😭

(no fr, that's what the NAME line says. the description down there is gonna give you the full picture, but yes, the headline is stop the async dma engines. iconic of it.)


🌸 SYNOPSIS 🌸

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

so it returns void (nothing comes back out, it just does the thing πŸ’…), and it takes exactly two things: a struct amdgpu_device *adev and a bool enable. that's it, that's the whole vibe check.


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” the amdgpu_device pointer πŸ’– like, the device we're messing with. main character energy.
  • enable β€” enables/disables the DMA MEs. this is the little switch that decides which direction we're going in πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Halt or unhalt the async dma engines πŸ”₯

that's the whole bit ngl. you're either putting those engines to sleep or waking them back up β€” and enable is the flag that tells it which one. one bool, two destinies, no cap 🧚


πŸ’œ SEE ALSO πŸ’œ

the kernel file lives right here, bestie:

./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c

and here's the whole friend group β€” every single one of these is a real reference on the page, so keep them close 🫢


and that's the page, bestie! πŸ“ this whole thing comes out of ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” so yeah, mark your calendar, the future called and it's still explaining SDMA to us πŸ’€πŸ’– slay, go read the source, ily, bye!! 🌈⭐

πŸ“¦ where this page comes from