Re: [Linux-fbdev-devel] Framebuffer fixes.

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Fri Mar 28 2003 - 03:00:26 EST


On Fri, 28 Mar 2003, James Simmons wrote:
> > > > > Shouldn't these be info->var.bits_per_pixel instead of fb_logo.depth?
> > > >
> > > > Yes, fb_logo.depth == info->var.bits_per_pixel.
> > >
> > > Euh, now I get confused... Do you mean
> > > `Yes, it should be replaced by info->var.bits_per_pixel' or
> > > `No, logo.depth is always equal to info->var.bits_per_pixel'?
> >
> > :) Sorry about that. I meant:
> >
> >
> > `No, fb_logo.depth is always equal to info->var.bits_per_pixel'
>
> No this is no longer true. For example last night I displayed the 16 color
> logo perfectly fine on a 16 bpp display!!!! The mono display still has
> bugs tho. The new logo tries to pick the best image to display. Say for
> example we have two video cards. One running VESA fbdev at 16 bpp and a
> another at vga 4 planar via vga16fb. This way we can have the both the 16
> color and 224 color logo compiled in. The correct logo will be displayed
> then on the correct display. Now say we only have a mono display but all

Didn't it always work like that? You got the 16 color logo on vga16fb and the
224 color logo on displays with more than 256 colors (except for directcolor).

> the cards support 8 bpp or better. That logo still gets displayed.
                                     ^^^^
Which logo do you mean with `that'? On a monochrome display, it should be the
monochrome logo.

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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:31 EST