Re: [linux-fbdev] Re: [PATCH] fix set_palette bug in consol

From: Petr Vandrovec (VANDROVE@vc.cvut.cz)
Date: Wed May 31 2000 - 06:56:29 EST


On 31 May 00 at 15:20, Yuri Per wrote:
> I have tryed such change before sending my own patch. It really works.
> I am not sure that such patch has no side effects on the vgacon driver.
> In fact, set_palette is not required for fbcon driver at all, because
> framebuffer drivers remebers palette themselves.

I preffer not changing condition for do_update_region...

> > --- console.c.orig Tue May 30 10:34:02 2000
> > +++ console.c Tue May 30 10:34:36 2000
> > @@ -581,8 +581,8 @@
> >
> > if (redraw) {
> > set_origin(currcons);
> > - set_palette(currcons);
> > if (sw->con_switch(vc_cons[currcons].d) && vcmode != KD_GRAPHICS)
+ {
> > + sw->con_set_palette(vc_cons[currcons].d, color_table);
> > /* Update the screen contents */
> > do_update_region(currcons, origin, screenbuf_size/2);
+ }
> > }
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz
                                            

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:27 EST