DMA to user space for framegrabber HOW?

Nils Rennebarth (nils@ipe.uni-stuttgart.de)
Fri, 4 Jun 1999 16:27:09 +0200


--tcC6YSqBgqqkz7Sb
Content-Type: text/plain; charset=us-ascii

I remember a discussion of how to DMA directly to user space recently, but
can't remember the details and wasn't interested in it.

Now I am because I need write a framegrabber driver and want to get the
maximum number of frames/s out of it. If I remember correctly, the solution
was to mmap the user space buffer to kernel space and then DMA to that.

Is there example code? What if I wish to use th MIT SHM extension for X to
transfer the data to the X framebuffer? Is it possible this way to
tell the PCI framegrabber card to DMA more or less directly to the video
card (which is also PCI of course)? The data doesn't need to be processed,
the framegrabber hardware arranges things to that the data is already in the
right format needed for X.

Nils

--
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the "Plug" almost always works.            --unknown source

--tcC6YSqBgqqkz7Sb Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE----- Version: 2.6.3ia

iQB1AwUBN1fiPVptA0IhBm0NAQEoggMAoKsBF6Bi2SM3I+K3NpLDhuSQVZ+WNtah 2YL1g1omkcbG0AP1Wf0dro9tYOOuSo2YZaeH4tbn0p8d+NbFcvUNZsBkQHZ8OM67 WPmetrLb7pj2WDsVIdld8jxEBalWdxjJ =+P+b -----END PGP SIGNATURE-----

--tcC6YSqBgqqkz7Sb--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/