cayman_dma_is_lockup(9)
β¨ NAME β¨
cayman_dma_is_lockup β the little function that checks if your DMA engine is straight-up stuck, bestie π
the manual name is Kernel API Manual, iykyk π
π¦ SYNOPSIS π¦
bool cayman_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring);
πΈ ARGUMENTS πΈ
rdevβ okay so this is yourradeon_devicepointer. like, the whole graphics device vibe check in one pointer π«Άringβ and this is theradeon_ringstructure holding ring information. literally the ring's whole personality and info, no cap π
π DESCRIPTION π
So basically this function checks if the async DMA engine is locked up. Like, is it ghosting us? Is it giving absolutely nothing? π It returns true if the engine appears to be locked up, and false if it's not. Periodt β that's the whole function, and it ate π
ngl bestie, if this comes back true, your DMA engine is not okay. it's giving stuck. it's giving frozen. it's giving send help π
π SEE ALSO π
The whole squad, fr fr β these are all in the kernel file ./drivers/gpu/drm/radeon/ni_dma.c and they're iconic:
cayman_dma_get_rptr(9)β gets the read pointer, slay π¦cayman_dma_get_wptr(9)β gets the write pointer, another queen πcayman_dma_set_wptr(9)β sets the write pointer, main character energy β¨cayman_dma_ring_ib_execute(9)β executes ring IB stuff, very demure πcayman_dma_stop(9)β stops it, not me being dramatic but bye πcayman_dma_resume(9)β resumes it, welcome back bestie πcayman_dma_fini(9)β finishes it up, wrapping it like a gift πcayman_dma_vm_copy_pages(9)β copies VM pages, lowkey important πcayman_dma_vm_write_pages(9)β writes VM pages, highkey essential πcayman_dma_vm_set_pages(9)β sets VM pages, she's serving πΈcayman_dma_vm_pad_ib(9)β pads the IB, iconic padding honestly π§
π« this page came from the./drivers/gpu/drm/radeonsource files, datedOctober 2026β shoutout to whoever wrote it, you're a real one π«Άβ¨
π¦ 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