radeon: fix small typo in agp code
authorDave Airlie <airlied@redhat.com>
Sun, 2 Nov 2008 23:27:00 +0000 (09:27 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 2 Nov 2008 23:27:00 +0000 (09:27 +1000)
shared-core/radeon_cp.c

index ded6f67..ae3a69b 100644 (file)
@@ -2439,7 +2439,7 @@ int radeon_modeset_agp_init(struct drm_device *dev)
        }
 
        /* workaround some hw issues */
-       if (dev_priv->chip_family <= CHIP_R200) {
+       if (dev_priv->chip_family < CHIP_R200) {
                RADEON_WRITE(RADEON_AGP_CNTL, RADEON_READ(RADEON_AGP_CNTL) | 0x000e0000);
        }
        return 0;