Thread (3 messages) 3 messages, 2 authors, 2002-07-23

Re: Re: board with broken vga ...

flat view

From: Petr Vandrovec <hidden>
Date: 2002-07-22 21:07:54

On 22 Jul 02 at 23:00, Sven wrote:
quoted
Just put it into vc_screenbuf after register_framebuffer() returns, and
force redraw...
mmm, will try.

BTW, how can i force a redraw from pm3fb ?
quoted
If you'll override save_screen, and you'll put set_origin() into visual_init,
NO, just tried, i got no more display, and the box hanged ...
Oops. fbcon_set_origin will call scrolldelta which ... So what about simple
origin = screenbuf in visual_init ? It should have no side effects.
How i do it :

i copy the data in pm3fb just after i first map the framebuffer. i hold it in a special
array in pm3fb (for now).

But then, maybe i should see if the location of the set_origin should be changed, maybe i could do it in vc_resize for now.

BTW, in the first case, i will see the screen flashing shortly with the garbage i see now, and then work ok, isn't it ? 
Yes.
And i would need to handle resolution changes myself ?
Yes. Or you can copy data just line by line, instead of like one big chunk.
Yes, it is duplicating of vc_resize code.
                                                Petr Vandrovec
                                                


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help