I have a question regarding the DRI/DRM kernel modules: Is there a simple way
for another XFree86 module to gain access to the DMA functions of a video
card and transfer fairly large buffers to userspace from the on-card memory?

The situation is this: ATI has a line of cards, the all-in-wonders, with
on-board video capture.  They capture directly the card's VRAM, and are
shown using overlay.  This part works fine with the new Xv drivers,
using straight PIO modes.  However, this breaks down when attempting
to capture the video stream.  The problem is bandwidth; on my main dev
card I only get about 6 MB/s.  The solution is to use the card's DMA mode,
and this bumps into DRI's area.

I've read the (google's cache) DRM documentation on PI's site (currently down)
and drmDMA seems, to my first reading, for transfering data _to_ the card
only.  Is there any currently defined mechanism for reading data _from_ the
card?

Thanks for any help/suggestions,

Robert Cicconetti

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to