sdma_v3_0_r...it_hdp_flush(9)
π NAME
sdma_v3_0_ring_emit_hdp_flush β okay so this one emits an hdp flush on the DMA ring. That's the whole vibe. β¨
(also hi bestie, welcome to the Kernel API Manual, we're doing kernel internals today and honestly? we're gonna slay it π«Ά)
πΈ SYNOPSIS
void sdma_v3_0_ring_emit_hdp_flush (struct amdgpu_ring *ring );
Like β it returns void, so don't go looking for a return value, it simply does the thing and dips. π
π ARGUMENTS
ringβ an amdgpu ring pointer, bestie. That's the ring we're working with, no cap. π¦
β¨ DESCRIPTION
So what this function actually does: it emits an hdp flush packet on the requested DMA ring. That's it, that's the whole function. Emit the packet, on the ring you asked for, done. π₯
Lowkey iconic how short the description is. The source file does the heavy lifting iykyk.
π SEE ALSO
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v3_0.cβ the actual file where all this lives, go read it π sdma_v3_0_init_microcode(9)sdma_v3_0_ring_get_rptr(9)sdma_v3_0_ring_get_wptr(9)sdma_v3_0_ring_set_wptr(9)sdma_v3_0_ring_emit_ib(9)sdma_v3_0_ring_emit_fence(9)sdma_v3_0_gfx_stop(9)sdma_v3_0_rlc_stop(9)sdma_v3_0_ctx_switch_enable(9)sdma_v3_0_enable(9)sdma_v3_0_gfx_resume(9)sdma_v3_0_rlc_resume(9)sdma_v3_0_start(9)sdma_v3_0_ring_test_ring(9)sdma_v3_0_ring_test_ib(9)sdma_v3_0_vm_copy_pte(9)sdma_v3_0_vm_write_pte(9)sdma_v3_0_vm_set_pte_pde(9)sdma_v3_0_ring_pad_ib(9)sdma_v3_0_ring_emit_pipeline_sync(9)sdma_v3_0_ring_emit_vm_flush(9)sdma_v3_0_emit_copy_buffer(9)sdma_v3_0_emit_fill_buffer(9)
That's the whole sdma_v3_0 friend group right there, fr fr. Go say hi to all of them. π
okay that's the page!! mwah π thanks for reading, you ate that β this one's straight out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the sdma_v3_0_r...it_hdp_flush(9) page you just crushed. go be the main character of your own kernel, bestie π§ββοΈβ
π¦ 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