Hello!

It's me again :-)

This time I need to utilize DMA to transfer data from videocard into system
memory (i.e the opposite direction), which is the only way to get decent video
grabbing from ATI AIW (for those who don't know AIW is a videocard with
onboard tv-decoder and other stuff). There is no v4l driver for AIW, I guess
because it has to cooperate with XFree86.

From what I see in the docs, no such beast (videocard->RAM) exists. The
livid-gatos developers are developing a separate kernel module, but I think
this belongs to DRI even if it isn't used for OpenGL but for Xv, as a patch
posted by Michel Dänzer a couple of weeks ago successfully demonstrates.

Therefore I'd like to propose change to DRI definition, to add a function that
transfers data over DMA into system memory. IMHO the transfers should behave
like this:

1. allocate buffers with drmDMA.
2. call the new function to do DMA transfer to allocated buffers.
3. now the data is in system memory and I can memcpy it where I need it, this
should eat much less CPU
4. free buffers

What do you think?

Bye,

Peter Surda (Shurdeek) <[EMAIL PROTECTED]>, ICQ 10236103, +436505122023

--
            0 and 1. Now what could be so hard about that?

PGP signature

Reply via email to