pxa_camera_check_link_miss(9)
β¨ pxa_camera_check_link_miss(9) β¨
okay bestie, grab your iced coffee π§ because we're diving into the Kernel API Manual and this one is a lil' niche but lowkey iconic π
πΈ NAME πΈ
pxa_camera_check_link_miss β check missed DMA linking π
π¦ SYNOPSIS π¦
void pxa_camera_check_link_miss (struct pxa_camera_dev *pcdev ,
dma_cookie_t last_submitted , dma_cookie_t last_issued );
π ARGUMENTS π
pcdevβ the camera device β¨ like, the main character of this whole situationlast_submittedβ an opaque DMA cookie for last submitted π (yes bestie, "opaque" β we do not peek inside, we just pass it along)last_issuedβ an opaque DMA cookie for last issued π«Ά
π₯ DESCRIPTION π₯
k so here's the tea β β the DMA chaining is done with DMA running. Which means there's this tiny temporal window that remains, where a buffer is queued on the chain, while the chain is already stopped π
And what does that mean? The tailed buffer would never be transferred by DMA. literally never. π
So this function restarts the capture for this corner case, where:
DADR == DADDR_STOPπ- a video buffer is queued on the
pcdev->capturelist π
ngl, if you wanna go deeper, please check the "DMA hot chaining timeslice issue" in Documentation/driver-api/media/drivers/pxa_camera.rst β iykyk πβ¨
π CONTEXT π
should only be called within the dma irq handler β οΈ like, do not just call this from anywhere bestie, respect the vibe check π
β SEE ALSO β
Kernel file ./drivers/media/platform/intel/pxa_camera.c, enum pxa_mbus_packing(9), enum pxa_mbus_order(9), enum pxa_mbus_layout(9), struct pxa_mbus_pixelfmt(9), struct pxa_mbus_lookup(9), struct pxa_camera_format_xlate(9), pxa_init_dma_channel(9), pxa_dma_start_channels(9), pxa_camera_start_capture(9) π¦π
and that's the whole page, bestie β no cap, we kept every single detail π§π«
sooo this lil' gem lives in ./drivers/media/platform/intel, dated October 2026, and it's literally the pxa_camera_check_link_miss(9) manual page from the Kernel API Manual π slay, go forth and check those link misses π
π
π¦ 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