summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-08-05 17:42:29 -0400
committerAlex Deucher <[email protected]>2010-08-05 17:42:29 -0400
commit918ef7ff18dc407d8ab1d6dc9cfb1267618c6534 (patch)
treec31678949c4c33bd4b971bf560e0b4878bc51523
parente93d413a0d81f591318f362f770083e9ecc7e0c0 (diff)
r600c: tiling require drm 2.6.0, not 2.5.0
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index 895c2e1f62a..fa97a19302c 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -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");