* FB through DMA
@ 2004-02-09 22:01 Matthias Badaire
0 siblings, 0 replies; only message in thread
From: Matthias Badaire @ 2004-02-09 22:01 UTC (permalink / raw)
To: Linux-fbdev-devel
Hi,
I am sorry if it is not the right place to ask this question.
I am currently using an hauppauge PVR-350 with tv-out.
The driver for this card (http://ivtv.sourceforge.net/) expose a framebuffer driver.
We have a direct access to the mem of this card and therefore the fb kernel driver was easy.
Now my problem comes from the fact that I want to avoid to write directly to the
RAM of the card but I want to send the frame via DMA(via an ioctl).
I suceed to make some ugly modif to fbdev.c by
- define my new ioctl in fbdevhw.c
- using the shadow options
- define my own buffer through a malloc (call it memBuf)
- change FBDevWindowLinear to give memBuf back (for shadowUpdatePacked to write in it)
- define my own FBshadowUpdatePacked (and pass it for shadowAdd())
- FBshadowUpdatePacked calls shadowUpdatePacked and then calls
the ioctl with memBuf as a parameter for the card to dma the memBuf.
Now I am quite sure it is not the right way to do it (I hear some laughing already).
Could somebody tell me in a nutshell how I should have implemented this.
I know the way I did this, it is now irrelevant to FrameBuffer, as I am not using
the mmap of the kernel fb driver, but maybe some people could help me here?
Thx
M
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-09 23:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09 22:01 FB through DMA Matthias Badaire
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.