Enable tiling by default on 965.

This commit is contained in:
Jesse Barnes 2007-08-10 15:48:15 -04:00
parent e0fcf645a2
commit e6746d0f28
3 changed files with 3 additions and 15 deletions

View File

@ -85,7 +85,7 @@ Default: enabled on supported configurations.
.BI "Option \*qTiling\*q \*q" boolean \*q
This option controls whether memory buffers are allocated in tiled mode. In
many cases (especially for complex rendering), tiling can improve performance.
Default: enabled on supported configurations.
Default: enabled.
.TP
.BI "Option \*qDRI\*q \*q" boolean \*q
Disable or enable DRI support.

View File

@ -721,17 +721,8 @@ i830_get_transformed_coordinates(int x, int y, PictTransformPtr transform,
void i830_enter_render(ScrnInfoPtr);
static inline int i830_tiling_supported(I830Ptr pI830)
{
if (IS_I965G(pI830))
return FALSE;
return TRUE;
}
static inline int i830_fb_compression_supported(I830Ptr pI830)
{
if (!i830_tiling_supported(pI830))
return FALSE;
if (!IS_MOBILE(pI830))
return FALSE;
if (IS_I810(pI830) || IS_I815(pI830) || IS_I830(pI830))

View File

@ -2250,11 +2250,8 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
pI830->CacheLines = -1;
}
/* Enable tiling by default where supported */
if (i830_tiling_supported(pI830))
pI830->tiling = TRUE;
else
pI830->tiling = FALSE;
/* Enable tiling by default */
pI830->tiling = TRUE;
/* Allow user override if they set a value */
if (xf86IsOptionSet(pI830->Options, OPTION_TILING)) {