r600c: tiling require drm 2.6.0, not 2.5.0

This commit is contained in:
Alex Deucher 2010-08-05 17:42:29 -04:00
parent e93d413a0d
commit 918ef7ff18

View 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");