Re: PATCH for SAA7146 DMA buffer overflow in budget cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ingo Schneider wrote:

Here comes a Patch which does the following changes for all ttpci budget cards: - 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 meanwhile.

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 'budget_patch_attach': /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 mentioned line.

Ingo: would you please provide an updated patch?

Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@xxxxxx

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux