r600c: tiling require drm 2.6.0, not 2.5.0
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 5 Aug 2010 21:42:29 +0000 (17:42 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Thu, 5 Aug 2010 21:42:29 +0000 (17:42 -0400)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 895c2e1..fa97a19 100644 (file)
@@ -1328,7 +1328,7 @@ radeonCreateScreen2(__DRIscreen *sPriv)
           screen->chip_flags |= RADEON_CLASS_R600;
 
    /* r6xx+ tiling */
-   if (IS_R600_CLASS(screen) && (sPriv->drm_version.minor >= 5)) {
+   if (IS_R600_CLASS(screen) && (sPriv->drm_version.minor >= 6)) {
           ret = radeonGetParam(sPriv, RADEON_INFO_TILE_CONFIG, &temp);
           if (ret)
                   fprintf(stderr, "failed to get tiling info\n");