radeon: enable tiling on SI by default (v2)

Now that mesa 9.2 is out with support for tiling
on SI asics, we can enable it here. Tiling improves
memory bandwidth utilization.

V2: update man page

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher
2013-10-30 15:21:26 -04:00
parent 3b38701a72
commit e4cd0f4392
2 changed files with 6 additions and 6 deletions

View File

@@ -245,7 +245,7 @@ this enables 1D tiling mode.
The default value is The default value is
.B on .B on
for R/RV3XX, R/RV4XX, R/RV5XX, RS6XX, RS740, R/RV6XX, R/RV7XX, RS780, RS880, for R/RV3XX, R/RV4XX, R/RV5XX, RS6XX, RS740, R/RV6XX, R/RV7XX, RS780, RS880,
EVERGREEN, CAYMAN, and ARUBA and EVERGREEN, CAYMAN, ARUBA, and Southern Islands and
.B off .B off
for R/RV/RS1XX, R/RV/RS2XX, RS3XX, and RS690/RS780/RS880 when fast fb feature is enabled. for R/RV/RS1XX, R/RV/RS2XX, RS3XX, and RS690/RS780/RS880 when fast fb feature is enabled.
.TP .TP
@@ -254,11 +254,11 @@ The framebuffer can be addressed either in linear, 1D, or 2D tiled modes. 2D til
provide significant performance benefits over 1D tiling with 3D applications. Tiling provide significant performance benefits over 1D tiling with 3D applications. Tiling
will be disabled if the drm module is too old or if the current display configuration will be disabled if the drm module is too old or if the current display configuration
does not support it. KMS ColorTiling2D is only supported on R600 and newer chips and requires does not support it. KMS ColorTiling2D is only supported on R600 and newer chips and requires
Mesa 9.0 or newer. Mesa 9.0 or newer for R6xx-ARUBA and Mesa 9.2 or newer for Southern Islands.
.br .br
The default value is The default value is
.B on .B on
for R/RV6XX, R/RV7XX, RS780, RS880, EVERGREEN, CAYMAN, and ARUBA. for R/RV6XX, R/RV7XX, RS780, RS880, EVERGREEN, CAYMAN, ARUBA, and Southern Islands.
.TP .TP
.BI "Option \*qEnablePageFlip\*q \*q" boolean \*q .BI "Option \*qEnablePageFlip\*q \*q" boolean \*q
Enable DRI2 page flipping. The default is Enable DRI2 page flipping. The default is

View File

@@ -860,17 +860,17 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
Bool colorTilingDefault = Bool colorTilingDefault =
xorgGetVersion() >= XORG_VERSION_NUMERIC(1,9,4,901,0) && xorgGetVersion() >= XORG_VERSION_NUMERIC(1,9,4,901,0) &&
info->ChipFamily >= CHIP_FAMILY_R300 && info->ChipFamily >= CHIP_FAMILY_R300 &&
/* this ARUBA check could be removed sometime after a big mesa release /* this check could be removed sometime after a big mesa release
* with proper bit, in the meantime you need to set tiling option in * with proper bit, in the meantime you need to set tiling option in
* xorg configuration files * xorg configuration files
*/ */
info->ChipFamily <= CHIP_FAMILY_ARUBA && info->ChipFamily <= CHIP_FAMILY_HAINAN &&
!info->is_fast_fb; !info->is_fast_fb;
/* 2D color tiling */ /* 2D color tiling */
if (info->ChipFamily >= CHIP_FAMILY_R600) { if (info->ChipFamily >= CHIP_FAMILY_R600) {
info->allowColorTiling2D = xf86ReturnOptValBool(info->Options, OPTION_COLOR_TILING_2D, info->allowColorTiling2D = xf86ReturnOptValBool(info->Options, OPTION_COLOR_TILING_2D,
info->ChipFamily <= CHIP_FAMILY_ARUBA); info->ChipFamily <= CHIP_FAMILY_HAINAN);
} }
if (info->ChipFamily >= CHIP_FAMILY_R600) { if (info->ChipFamily >= CHIP_FAMILY_R600) {