summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-05-04 01:06:22 -0400
committerAlex Deucher <alexdeucher@gmail.com>2011-05-04 01:07:09 -0400
commit76638ca687b02d3b1494b9868f817fd4fd892c64 (patch)
treeaf6b06a0250cb6f0f2b931445b5cbb5f79321fe7
parenta6d2dba6573a3512d550d7e442bf42ea03012bbc (diff)
fusion: enable tiling if DFS works
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
-rw-r--r--src/radeon_kms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index b8fcb99..459ca68 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -679,9 +679,9 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"R6xx+ KMS Color Tiling requires radeon drm 2.6.0 or newer\n");
- /* don't support tiling on APUs yet */
+ /* need working DFS for tiling */
if (info->ChipFamily == CHIP_FAMILY_PALM)
- info->allowColorTiling = FALSE;
+ info->allowColorTiling = info->accel_state->allowHWDFS;
} else
info->allowColorTiling = xf86ReturnOptValBool(info->Options,
OPTION_COLOR_TILING, colorTilingDefault);