[PATCH] SiS648 support for agpgart, kernel 2.4.21-rc2-ac1

Grzesiek Wilk (toulouse@put.mielec.pl)
Sun, 11 May 2003 13:11:31 +0200


This patch just adds sis648 chipset support as a generic sis chipset into
agpgart. You need it if you want to get a 3d acceleration to work.

So far it works fine on my Radeon 9000
(glxgears 1200fps instead of 300, glTron works excellent).

One thing i'm not sure is in which agp mode it is working. SiS648 as well as
R9k supports agp 3.0 but I don't think that generic sis driver does.
(correct me if i'm wrong).

diff -u orig_linux.21rc2-ac1/drivers/char/agp/agpgart_be.c linux.21rc2-ac1/drivers/char/agp/agpgart_be.c
--- orig_linux.21rc2-ac1/drivers/char/agp/agpgart_be.c 2003-05-11 12:23:51.000000000 +0200
+++ linux.21rc2-ac1/drivers/char/agp/agpgart_be.c 2003-05-11 12:39:03.000000000 +0200
@@ -4655,6 +4655,12 @@
"SiS",
"646",
sis_generic_setup },
+ { PCI_DEVICE_ID_SI_648,
+ PCI_VENDOR_ID_SI,
+ SIS_GENERIC,
+ "SiS",
+ "648",
+ sis_generic_setup },
{ PCI_DEVICE_ID_SI_735,
PCI_VENDOR_ID_SI,
SIS_GENERIC,

-
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/