On 6/6/07, Larry Bernstone <[EMAIL PROTECTED]> wrote:
> While I'm sure this isn't the answer you would like to hear, I too have
> a MCP51 based board, and get DMA errors with it.  I've tried numerous
> and varied configurations to eliminate the errors, but the only thing
> that works with consistency is turn disable DMA in ivtv-streams.c.  I'm
> too lazy to write a patch for it, but the code looks like this (~line
> 80)
>
>         {       /* IVTV_ENC_STREAM_TYPE_MPG */
>                 "encoder MPEG",
>                 VFL_TYPE_GRABBER, 0,
>                 PCI_DMA_FROMDEVICE, 1, V4L2_BUF_TYPE_VIDEO_CAPTURE,
>                 &ivtv_v4l2_enc_fops
>         },
>
> Note the 1 after PCI_DMA_FROMDEVICE, which will set the encoder to use
> PIO instead of DMA.  This will dramatically increase the cpu usage of
> ivtv, but it does work, and won't hang the tuner card.
>
>

# cat 
/usr/local/portage/gentoo-overlay/media-tv/ivtv/files/ivtv-0.10.3-pio.patch
--- driver/ivtv-streams.c.new   2007-05-20 23:08:35.000000000 -0400
+++ driver/ivtv-streams.c       2007-05-20 23:10:29.000000000 -0400
@@ -77,7 +77,7 @@
        {       /* IVTV_ENC_STREAM_TYPE_MPG */
                "encoder MPEG",
                VFL_TYPE_GRABBER, 0,
-               PCI_DMA_FROMDEVICE, 0, V4L2_BUF_TYPE_VIDEO_CAPTURE,
+               PCI_DMA_FROMDEVICE, 1, V4L2_BUF_TYPE_VIDEO_CAPTURE,
                &ivtv_v4l2_enc_fops
        },
        {       /* IVTV_ENC_STREAM_TYPE_YUV */

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to