Part Number: AM62A3
I am currently configuring the MIPI format to 2240x480, and most of the time I can receive normal data frames. Occasionally, after submitting a DMA TR (Transfer Record) request, the DMA interrupt is triggered immediately and the callback is invoked instantly, placing the buffer into the done list. However, when executing deqbuf in user space, I find that the data in the buffer remains old.
To debug this issue, I modified the kernel driver by replacing the DMA callback with callback_result and adding a status member to dma_result to obtain the DMA transfer result. After running and reproducing the issue with the modified kernel, I found that the error code recorded in status is 5, which corresponds to CPPI5_TR_RESPONSE_STATUS_TRANSFER_EXCEPTION.
Could you please help confirm under what circumstances this error occurs?



