[PATCH xf86-video-ati] Enable tiling by default with glamor on PALM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 26, 2017 at 4:40 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> The DFS check is only relevant for EXA.
>
> The lack of tiling prevented DRI3 clients from using page flipping,
> resulting in tearing.
>
> Bugzilla: https://bugs.freedesktop.org/99491
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>


> ---
>  src/radeon_kms.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/src/radeon_kms.c b/src/radeon_kms.c
> index 48dec967a..446852564 100644
> --- a/src/radeon_kms.c
> +++ b/src/radeon_kms.c
> @@ -1741,10 +1741,12 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
>                 if (r600_get_tile_config(pScrn)) {
>                     info->allowColorTiling = xf86ReturnOptValBool(info->Options,
>                                                                   OPTION_COLOR_TILING, colorTilingDefault);
> -                   /* need working DFS for tiling */
> -                   if ((info->ChipFamily == CHIP_FAMILY_PALM) &&
> -                       (!info->accel_state->allowHWDFS))
> -                       info->allowColorTiling = FALSE;
> +                   if (!info->use_glamor) {
> +                       /* need working DFS for tiling */
> +                       if (info->ChipFamily == CHIP_FAMILY_PALM &&
> +                           !info->accel_state->allowHWDFS)
> +                           info->allowColorTiling = FALSE;
> +                   }
>                 } else
>                     info->allowColorTiling = FALSE;
>             } else
> --
> 2.11.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux