aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86-4/files/patch-r128dri
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4/files/patch-r128dri')
-rw-r--r--x11/XFree86-4/files/patch-r128dri26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/XFree86-4/files/patch-r128dri b/x11/XFree86-4/files/patch-r128dri
new file mode 100644
index 000000000000..fd04fd0c9c11
--- /dev/null
+++ b/x11/XFree86-4/files/patch-r128dri
@@ -0,0 +1,26 @@
+--- programs/Xserver/hw/xfree86/drivers/ati/r128_dri.c.orig Sat Oct 6 05:29:25 2001
++++ programs/Xserver/hw/xfree86/drivers/ati/r128_dri.c Fri Oct 5 17:28:40 2001
+@@ -705,6 +705,7 @@
+ case PCI_CHIP_RAGE128LE:
+ case PCI_CHIP_RAGE128RE:
+ case PCI_CHIP_RAGE128RK:
++ case PCI_CHIP_RAGE128PE:
+ /* This is a PCI card, do nothing */
+ break;
+
+@@ -985,12 +985,12 @@
+ /* Check the r128 DRM version */
+ version = drmGetVersion(info->drmFD);
+ if (version) {
+- if (version->version_major != 2 ||
+- version->version_minor < 1) {
++ if (version->version_major != 3 ||
++ version->version_minor < 0) {
+ /* incompatible drm version */
+ xf86DrvMsg(pScreen->myNum, X_ERROR,
+ "[dri] R128DRIScreenInit failed because of a version mismatch.\n"
+- "[dri] r128.o kernel module version is %d.%d.%d but version 2.1.x is needed.\n"
++ "[dri] r128.o kernel module version is %d.%d.%d but version 3.0 or greater is needed.\n"
+ "[dri] Disabling the DRI.\n",
+ version->version_major,
+ version->version_minor,