[PATCH 2/2 v2] dma: ipu_idmac: do not lose valid received data in the irq handler
From: Dan Williams <hidden>
Date: 2011-02-14 09:57:41
Also in:
linux-media
From: Dan Williams <hidden>
Date: 2011-02-14 09:57:41
Also in:
linux-media
On Mon, Feb 7, 2011 at 8:49 AM, Guennadi Liakhovetski [off-list ref] wrote:
Ok, I've found the reason. Buffer number repeats, when there is an underrun, which is happening in my tests, when frames are arriving quickly enough, but the user-space is not fast enough to process them, e.g., when it is writing them to files over NFS or even just displaying on the LCD. Without your patch these underruns happen just as well, they just don't get recognised, because there's always one buffer delayed, so, the queue is never empty. Dan, please add my Reviewed-(and-tested-)by: Guennadi Liakhovetski [off-list ref]
Thanks, applied v2. -- Dan