R300: set the number of GB pipes on all r3xx-r5xx chips
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 27 Feb 2009 19:31:14 +0000 (14:31 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 27 Feb 2009 19:31:14 +0000 (14:31 -0500)
src/mesa/drivers/dri/radeon/radeon_screen.c

index c591e9f882021c1cbc9c07d366813dc91db3d281..79ab3e2fd852fc4f50dda931e721da6cfaacabae 100644 (file)
@@ -892,7 +892,7 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
        screen->fbLocation = (temp & 0xffff) << 16;
    }
 
-   if (screen->chip_family >= CHIP_FAMILY_RV515) {
+   if (screen->chip_family >= CHIP_FAMILY_R300) {
        ret = radeonGetParam( sPriv->fd, RADEON_PARAM_NUM_GB_PIPES,
                             &temp);
        if (ret) {