cik_sdma_fence_ring_emit(9)
π
cik_sdma_fence_ring_emit (9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from the radeon driver fam and it's lowkey iconic, let me tell you everything π«Ά
β¨ NAME β¨
cik_sdma_fence_ring_emit β emit a fence on the DMA ring π₯
like, that's literally her whole job. put a fence on the ring. slay.
πΈ SYNOPSIS πΈ
void cik_sdma_fence_ring_emit (struct radeon_device *rdev , struct
radeon_fence *fence );
no return value, no drama, just vibes and a void π
π ARGUMENTS π
rdevβ aradeon_devicepointer π (the device, the main character)fenceβ aradeon_fenceobject π¦ (the fence in question, she's the guest of honour)
π DESCRIPTION π
so what she does is: add a DMA fence packet to the ring so it writes the fence seq number π, and also adds a DMA trap packet to generate an interrupt if needed β‘ β and all of this is the CIK flavour, iykyk. periodt.
ngl this is the kind of function that looks small and then carries the whole queue, no cap π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/radeon/cik_sdma.c cik_sdma_get_rptr(9)cik_sdma_get_wptr(9)cik_sdma_set_wptr(9)cik_sdma_ring_ib_execute(9)cik_sdma_hdp_flush_ring_emit(9)cik_sdma_semaphore_ring_emit(9)cik_sdma_gfx_stop(9)cik_sdma_rlc_stop(9)cik_sdma_ctx_switch_enable(9)cik_sdma_enable(9)cik_sdma_gfx_resume(9)cik_sdma_rlc_resume(9)cik_sdma_load_microcode(9)cik_sdma_resume(9)cik_sdma_fini(9)cik_copy_dma(9)cik_sdma_ring_test(9)cik_sdma_ib_test(9)cik_sdma_is_lockup(9)cik_sdma_vm_copy_pages(9)cik_sdma_vm_write_pages(9)cik_sdma_vm_set_pages(9)cik_sdma_vm_pad_ib(9)
okay that's the whole page bestie, go forth and read the source π§π
π cute little sign-off: this one lives in ./drivers/gpu/drm/radeon, dated October 2026, and it's brought to you by the very manual you're reading rn. mwah ππ
π¦ 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