amdgpu_vm_sdma_commit(9)
π amdgpu_vm_sdma_commit β commit SDMA command submission π
okay so bestie, welcome to amdgpu_vm_sdma_commit(9) from the Kernel API Manual β yes, that's the whole header, it's giving kernel-doc energy and we're obsessed. this one is short and sweet: it's the lil function that actually commits an SDMA command submission. the finale. the send button. periodt. π₯
β¨ SYNOPSIS β¨
int amdgpu_vm_sdma_commit (struct amdgpu_vm_update_params *p , struct
dma_fence **fence );
that's it, that's the whole signature. two args, one int coming back at you. slay. π
π ARGUMENTS π
pβ this one's a pointer to theamdgpu_vm_update_paramsstruct β and no, the manpage will not explain it here, it just says "seeamdgpu_vm_update_paramsdefinition." like okay gatekeep a little π go look up the struct bestie, it's defined elsewhere, iykyk.fenceβ astruct dma_fence **, and it's where the resulting fence lands. so like, the receipt for the submission. keep it safe π«Ά
π RETURN π
it returns an int, and here's the vibe: Negativ errno (that's the doc's own spelling, we're keeping it fr fr, iconic typo π) when something goes wrong β and 0 for success. zero is the good number. zero means we ate and left no crumbs. β
no cap, if you get anything other than 0 back, that's a negative errno and something went sideways. handle it. π
π SEE ALSO π
- the kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.cβ that's where this whole situation lives π¦ amdgpu_vm_sdma_map_table(9)amdgpu_vm_sdma_prepare(9)amdgpu_vm_sdma_copy_ptes(9)amdgpu_vm_sdma_set_ptes(9)amdgpu_vm_sdma_update(9)
like a whole sdma friend group honestly, go read them all, main character energy all around π
πΈ mwah, that's the page! brought to you by the fine folks over at ./drivers/gpu/drm/amd/amdgpu (version vibes: October 2026, Kernel API Manual) β go commit some SDMA submissions, bestie, and remember: 0 is success, negativity is not it πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms