Re: [PATCH] [2.5.21] CyberPro 32bit support and other fixes
Geert Uytterhoeven (geert@linux-m68k.org)
Fri, 28 Jun 2002 15:03:42 +0200 (MEST)
On Sat, 15 Jun 2002, Denis Oliver Kropp wrote:
> Quoting James Simmons (jsimmons@transvirtual.com):
> >
> > > Why is the pseudo palette used anyway?
> >
> > Its a fast way for the console to grab the proper console index color to
> > draw to the framebuffer. Otherwise we have to regenerate the color all the
> > time. Plus it is always endian code for us :-)
>
> I didn't mean the array of colors for the console, but the usage of
> the hardware palette for modes != 8 bit.
>
> > > There's no speed benefit and
> > > applications running in true/direct color would look wrong.
> >
> > For userland no but for the kernel we do have a benifiet.
>
> There's no speed benefit if you write "index|index|index" into the
> framebuffer instead of "red|green|blue".
But it does allow to change the console palette without the need to redraw the
screen, just like for VGA text mode.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/