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 895c2e1f62a6b52371de160d746ed39be75dd395..fa97a19302c4fef972549221f3aac3fe6dc23348 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");