[Mesa-dev] [PATCH] radeonsi: disable DCC on Stoney

Alex Deucher alexdeucher at gmail.com
Fri Dec 4 12:29:46 PST 2015


On Fri, Dec 4, 2015 at 2:35 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Cc: 11.0 11.1 <mesa-stable at lists.freedesktop.org>

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

> ---
>  src/gallium/drivers/radeon/r600_texture.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
> index e2947d9..e7b2aea 100644
> --- a/src/gallium/drivers/radeon/r600_texture.c
> +++ b/src/gallium/drivers/radeon/r600_texture.c
> @@ -497,6 +497,10 @@ static void vi_texture_alloc_dcc_separate(struct r600_common_screen *rscreen,
>         if (rscreen->debug_flags & DBG_NO_DCC)
>                 return;
>
> +       /* TODO: DCC is broken on Stoney */
> +       if (rscreen->family == CHIP_STONEY)
> +               return;
> +
>         rtex->dcc_buffer = (struct r600_resource *)
>                 r600_aligned_buffer_create(&rscreen->b, PIPE_BIND_CUSTOM,
>                                    PIPE_USAGE_DEFAULT, rtex->surface.dcc_size, rtex->surface.dcc_alignment);
> --
> 2.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list