fbcon-cfb8.c

Geert Uytterhoeven geert at linux-m68k.org
Sun Jun 4 21:52:47 EST 2000


On Sun, 4 Jun 2000, Henning Loeser wrote:
> On Sun, 4 Jun 2000, Geert Uytterhoeven wrote:
> > On Sun, 4 Jun 2000, Henning Loeser wrote:
> > > trying to fix my console character displayment I wonder whether I'm
> > > looking at the right place ?????
> > > When in the console with 8bpp, fbcon-cfb8.c is the driver the kernel uses
> > > right? Not the tdfxfb driver for the card?
> >
> > Tdxfb is accelerated. So unless you disable acceleration, it uses the
> > operations in fbcon_banshee8 in tdxfb.c:
> >
> >     info->dispsw = noaccel ? fbcon_cfb8 : fbcon_banshee8
>
> Thanks, if I simply make it call fbcon-cfb8 no matter what the font
> appears correctly. So I guess what I have to acctually do is to fix the
> 'do_putc' and 'do_putcs' functions in tdfxfb.c to diplay BIGENDIAN
> characters correctly.

Yes. Perhaps the graphics accelerator has a flag to specify to use big endian
mode, and this flag isn't set?

> That's what your nibbletab_cfb8 does in fbcon-cfb8 right?

Yes.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list