sdma_v5_2_ri...mit_mem_sync(9)
π¦ sdma_v5_2_ri...mit_mem_sync(9) β the girlies' guide π¦
okay so real quick bestie, this page lives in section 9 of the Kernel API Manual (yes, the header up top is literally sdma_v5_2_ri...mit_mem_sync(9) β the man page tooling squished the full name, it's giving truncation π). The full function name, no cap, is sdma_v5_2_ring_emit_mem_sync, and I'm about to tell you everything about it. periodt.
β¨ NAME β¨
sdma_v5_2_ring_emit_mem_sync β flush the IB by graphics cache rinse π
π SYNOPSIS π
void sdma_v5_2_ring_emit_mem_sync (struct amdgpu_ring *ring );
it returns void, so likeβ¦ it gives nothing back and that's iconic of it. π«Ά
πΈ ARGUMENTS πΈ
ringβ amdgpu ring pointer. that's your ring bestie, anamdgpu_ring *, and you do have to hand it over.
β DESCRIPTION β
flush the IB by graphics cache rinse. β¨
like yes that's the whole vibe β the IB gets flushed, and the way it happens is a graphics cache rinse. she's short, she's sweet, she does exactly one thing and she does it. no notes. π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.cβ the source file where all this lives, go read it iykyk π
and the whole friend group, in order, no skipping, all of them:
sdma_v5_2_ring_get_rptr(9)sdma_v5_2_ring_get_wptr(9)sdma_v5_2_ring_set_wptr(9)sdma_v5_2_ring_emit_ib(9)sdma_v5_2_ring_emit_hdp_flush(9)sdma_v5_2_ring_emit_fence(9)sdma_v5_2_gfx_stop(9)sdma_v5_2_rlc_stop(9)sdma_v5_2_ctx_switch_enable(9)sdma_v5_2_enable(9)sdma_v5_2_gfx_resume_instance(9)sdma_v5_2_gfx_resume(9)sdma_v5_2_rlc_resume(9)sdma_v5_2_load_microcode(9)sdma_v5_2_start(9)sdma_v5_2_ring_test_ring(9)sdma_v5_2_ring_test_ib(9)sdma_v5_2_vm_copy_pte(9)sdma_v5_2_vm_write_pte(9)sdma_v5_2_vm_set_pte_pde(9)sdma_v5_2_ring_pad_ib(9)sdma_v5_2_ring_emit_pipeline_sync(9)sdma_v5_2_ring_emit_vm_flush(9)sdma_v5_2_emit_copy_buffer(9)sdma_v5_2_emit_fill_buffer(9)
all (9) bestie, every single one, don't come for me π
ngl there's literally nothing dangerous in here β just a void function and one pointer argument. but like, always read the args before you call things, that's the rule π
and that's the page!! π this little baddie ships out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, filed under sdma_v5_2_ri...mit_mem_sync(9) in section 9. slay, go flush something π§ββοΈπ
π¦ 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