2001-03-13 21:32:17

by Jeffrey W. Baker

[permalink] [raw]
Subject: [PATCH] 2.4.3-pre3 add PBG4 native LCD mode to modedb.c

The attached patch adds the a new mode to the modedb, used by the ATI,
3Dfx, and Amiga frame buffer devices. The new mode is the native,
slightly wide resolution of the new Apple laptops. It isn't obvious how
popular a mode has to be before it goes into modedb.c.

-jwb


Attachments:
mode.diff (522.00 B)
Patch to drivers/video/modedb.c

2001-03-13 22:56:01

by Olaf Hering

[permalink] [raw]
Subject: Re: [PATCH] 2.4.3-pre3 add PBG4 native LCD mode to modedb.c

On Tue, Mar 13, Jeffrey W. Baker wrote:

> The attached patch adds the a new mode to the modedb, used by the ATI,
> 3Dfx, and Amiga frame buffer devices. The new mode is the native,
> slightly wide resolution of the new Apple laptops. It isn't obvious how
> popular a mode has to be before it goes into modedb.c.

It proably depends also on your own popularity as a kernel hacker ;)

Do it right and put the stuff into aty128fb.c. The various models can be
autodetected via the OpenFirmware "compatible" property.
The attached patch forces the known models into a sane video mode.
It adds also a vmode:22 for the 22" Apple Cinema display, there is
currently no way in the kernel to use that one.
It adds PCI_DEVICE_ID_ATI_RAGE128_TR for the new iMacs.
It adds vmode:21 for that Titanium PowerBook.


(Btw, someone should have at the new aic7xxx, make distclean is broken.)



Gruss Olaf

--
$ man clone

BUGS
Main feature not yet implemented...


Attachments:
(No filename) (956.00 B)
2.4.2-ac20.macmodes.dif (4.63 kB)
Download all attachments