summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-02-12 05:34:50 -0500
committerAlex Deucher <alexdeucher@gmail.com>2011-02-12 05:34:50 -0500
commita9a59717d11af37a2dda5555f6a83c5b65449527 (patch)
treec4d86292e8daf81b671e603b8a51fd50a398171d /src/radeon_kms.c
parent5f9b7fdb4ce27f8c6a64134bb4d5ebeb1c958cca (diff)
kms: use worst case base/pitch align if we don't have drm tiling info
To avoid CS rejection. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index dae512e9..269a850b 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -513,6 +513,7 @@ static Bool r600_get_tile_config(ScrnInfoPtr pScrn)
}
}
+ info->have_tiling_info = TRUE;
return TRUE;
}
@@ -600,6 +601,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
if (info->ChipFamily >= CHIP_FAMILY_R600) {
/* set default group bytes, overridden by kernel info below */
info->group_bytes = 256;
+ info->have_tiling_info = FALSE;
if (info->dri->pKernelDRMVersion->version_minor >= 6) {
if (r600_get_tile_config(pScrn))
info->allowColorTiling = xf86ReturnOptValBool(info->Options,