Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Mon, 10 May 1999 22:01:29 +0000

Re: MMIO accel with kgicon drivers.

Jonas Borgström wrote:
> 
> Hi, all
> 
> I have recently tried XGGI, and it works great. I first tried the matroxfb
> driver, it was fast but I didn't manage to get any resolution bigger than
> 640x480. And after using fbset a while I had to reboot the computer.
> After that I tried my old Matrox Millennium driver, and it worked in all
> resolutions but, because it uses ioctrls to accelerate it is a lot slower
> than the matroxfb driver that uses direct mmio accel.
> 
> So, what should I do:
> 
> Should I try to use the matroxfb and somehow get my resolution
> (1024x768x16), but I like kgicon with and the generic monitor driver and
> setmon.
> 
> Or should I update my driver to use mmio acceleration?
> 
> I looked at the fbcon-kgi.c, and I just need to set fix.mmio_start to the
> mmio address, but how can I do that without doing a Hack(tm).

Well, the entire KGIcon is a hack due to the messy Dali KGI, so I
wouldn't worry too much about that...
I would just add mmio_start and mmio_len entries to the end of the
kgi_display struct and let the chipset driver fill them in.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]