Re: [PATCH] tgafb update for 2.3.99-pre3

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Thu Apr 06 2000 - 07:42:02 EST


On Fri, 7 Apr 2000, Martin Lucina wrote:
> geert@linux-m68k.org said:
>
> > Probably this depends on the type of Alpha box? Last time I tried
> > XF86_FBDev on my UDB, it worked fine.
>
> Hmm... I wrote that after I got an email from someone saying that it
> doesn't work. In any case, tgafb doesn't implement mmap() so I'm not sure
> how it could work.

The mmap() fbop is only implemented for machines where a special mmap() is
used, e.g. on SPARC (for compatibility with SunOS/Solaris).

On other machines, the generic mmap() in drivers/video/fbmem.c is used.
Probably it works for me because the UDB is one of those special boxes where
PCI memory accesses can be done using the normal memory access instructions.

> > BTW, what about using the modedb code (Documentation/fb/modedb.txt)? It can be
> > used with your private video mode database.
>
> Ah... great stuff. Something I was looking forward to but didn't know it
> actually existed. I'll look into it when I get a chance.
>
> One other change I would like to make is that from reading the source to
> the Digital UNIX console drivers I should be able to figure out how to
> decode the DIP switches/jumpers used to select the bootup mode on TGA cards
> and use that instead of the default 640x480. What do you think?

That would be nice. If no video= argument is specified, you can use the mode as
specified by the DIP switch settings.

> BTW. The Digital UNIX code makes interesting reading. It was released by
> Compaq to XFree86 last year but I believe it is for general distribution
> (at least from looking at the copyrights in the source, I'll check with Jim
> Gettys). If you, or anyone else doing fb development on Linux want to take
> a look at the code, I can put a copy up on FTP.

Aha. Does it also include code from ULTRIX? If yes, the DECstation guys are
interested for sure.

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.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:16 EST