Messages in this thread | | | Date | Thu, 18 Mar 2004 10:42:33 +0100 (MET) | From | Geert Uytterhoeven <> | Subject | Re: [Linux-fbdev-devel] [PATCH 2.6][RESEND] fbcon margins colour fix |
| |
On Thu, 18 Mar 2004, Jakub Bogusz wrote: > On Thu, Mar 18, 2004 at 10:21:31AM +0100, Geert Uytterhoeven wrote: > > On Thu, 18 Mar 2004, Jakub Bogusz wrote: > > > I sent it a few times to linux-kernel and at least one to > > > linux-fbdev-devel, but haven't seen any comments - and this annoying > > > changing margins colour seems to be still there in 2.6.4 (at least on > > > tdfxfb). > > > > What happens on `reverse video' (i.e. black on white, like Sun) graphics cards? > > In that case the overscan color is white. > > Uhm. What is palette entry for this white?
0, on pseudocolor displays. So probably it's OK.
> Or, more generally, how to find (palette colour number of) overscan > colour for current console? > Video erase character colour is not proper one as it may be different > even from background colour at the moment of vt switch.
There's no standardized way for that. So it may depend on the driver. I know ATI Mach64 has a special register for the overscan color, which is always set to black, IIRC.
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/
| |