Hi,
I'm writing a device driver for a monochrome LCD display managed by a
controller that will be plugged into the CPU through a SPI, that is, I cannot
directly memory-map it's address, since the communication will be done via
a serial interface.
I've seen good chunks of code tonight (fbcon.c, fbmem.c and fbcon_mfb.c), but
an unique question still remains: I didn't see anywhere *how* the buffer is
updated to the video card. As far I could see on others drivers that I've
read, they are doing that by memory mapping the video card's memory, and
hence any write done into the buffer will be automagically reflected on the
screen.
On my case I probably won't be able to memory map it's video memory. So, is
there a way to get notified (at driver level) when some write is going to
happen? Or should I just install a timer and use some kind of
double-buffering scheme to verify if changes happened?
Many thanks in advance,
Lucas
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click