Skip to contentSkip to conversation

8 words bursts for fbdev driver

DISCUSSION [email protected] 2 participants 2 messages May 28, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Hello,

I have posted this message on the linux-kernel mailing list, but I think it could be more appropriate here.
I'm working on a FPGA vga controller, with an arm cpu (at91rm9200). My FPGA is plugged on a 16 bits data bus. I'm trying to develop the framebuffer driver, from the epson s1d13xxxfb driver to use my controller. I have a first driver which works well. To accelerate my controller, I would like to read and write in my video memory (controlled by the FPGA) by 8 words bursts. Is it possible to tell the kernel that the memory must be accessed only by 8 words bursts ?? My driver is available on http://xcsnake.free.fr/driver

Thanks a lot

Mickaël

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

#1 lore raw
Quoted 11 lines · On Mon, 2007-05-28 at 17:25 +0200, [email protected] wrote:

Hello,

I have posted this message on the linux-kernel mailing list, but I think it could be more appropriate here.
I'm working on a FPGA vga controller, with an arm cpu (at91rm9200). My FPGA is plugged on a 16 bits data bus. I'm trying to develop the framebuffer driver, from the epson s1d13xxxfb driver to use my controller. I have a first driver which works well. To accelerate my controller, I would like to read and write in my video memory (controlled by the FPGA) by 8 words bursts. Is it possible to tell the kernel that the memory must be accessed only by 8 words bursts ?? My driver is available on http://xcsnake.free.fr/driver

You can write your own fillrect, imageblit and copyarea routine. The same with fb_read and fb_write. For userland that mmap's the framebuffer, I don't think there's a way to tell them how to access the framebuffer.

Tony

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/