xf86-video-ati: Branch 'master'

George Sapountzis gsap7 at kemper.freedesktop.org
Mon Feb 18 00:35:34 PST 2008


 src/r128_probe.c   |    2 +-
 src/radeon_probe.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 66b0b3f43bb714bc007169d5ba6dabe34cfc008b
Author: George Sapountzis <gsap7 at yahoo.gr>
Date:   Mon Feb 18 10:33:59 2008 +0200

    r128/radeon: probably correct fix for non pci access code

diff --git a/src/r128_probe.c b/src/r128_probe.c
index 1b07ebd..b1f427a 100644
--- a/src/r128_probe.c
+++ b/src/r128_probe.c
@@ -332,7 +332,7 @@ R128Probe(DriverPtr drv, int flags)
     if (flags & PROBE_DETECT)
 	foundScreen = TRUE;
     else for (i = 0; i < numUsed; i++) {
-	if (r128_get_scrninfo(i))
+	if (r128_get_scrninfo(usedChips[i]))
 	    foundScreen = TRUE;
     }
 
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index fc621c7..4ec7485 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -180,7 +180,7 @@ RADEONProbe(DriverPtr drv, int flags)
 	foundScreen = TRUE;
     } else {
 	for (i = 0; i < numUsed; i++) {
-	    if (radeon_get_scrninfo(i))
+	    if (radeon_get_scrninfo(usedChips[i]))
 		foundScreen = TRUE;
 	}
     }


More information about the xorg-commit mailing list