aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4/files/patch-r128dri
blob: c09b58c6ad4036d46642e4c368611901daee9b86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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
@@ -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,