[linux-dvb] PATCH for SAA7146 DMA buffer overflow in budget cards
rnissl at gmx.de
Fri Mar 3 22:24:54 CET 2006
Ingo Schneider wrote:
> Here comes a Patch which does the following changes for all ttpci budget
> - Issue a warning when more than 80% of the DMA buffer is being used
> (probably due to bad IRQ latency)
> Warnings are limited to the first 100 warnings and after that one
> warning for every 100 buffer overruns.
> - Introduce a new parameter "bufsize" (in k) which increases the default
> DMA buffer of 188k up to 4 MB
> A buffer size of 470k does it for me even at high I/O load conditions.
> Signed-off-by: Ingo Schneider <mail at ingo-schneider.de>
I'd like to try this patch, but it seems that the repository has changed
After applying the patch I get the following error when compiling:
CC [M] /store/soft/src/v4l-dvb/v4l/budget-patch.o
/store/soft/src/v4l-dvb/v4l/budget-patch.c: In function
/store/soft/src/v4l-dvb/v4l/budget-patch.c:683: error: 'TS_HEIGHT'
undeclared (first use in this function)
/store/soft/src/v4l-dvb/v4l/budget-patch.c:683: error: (Each undeclared
identifier is reported only once
/store/soft/src/v4l-dvb/v4l/budget-patch.c:683: error: for each function
it appears in.)
I cannot solve this issue myself by substituting TS_HEIGHT with
budget->buffer_width, as budget is first initialized past the above
Ingo: would you please provide an updated patch?
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
More information about the linux-dvb