[Mesa-dev] [PATCH] radeonsi: apply the tess+GS hang workaround to Polaris12 as well

Alex Deucher alexdeucher at gmail.com
Fri May 5 15:39:48 UTC 2017


On Fri, May 5, 2017 at 11:14 AM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Cc: 17.1 <mesa-stable at lists.freedesktop.org>

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

> ---
>  src/gallium/drivers/radeonsi/si_state_draw.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
> index e6a9ee0..5f1371a 100644
> --- a/src/gallium/drivers/radeonsi/si_state_draw.c
> +++ b/src/gallium/drivers/radeonsi/si_state_draw.c
> @@ -325,21 +325,22 @@ si_get_init_multi_vgt_param(struct si_screen *sscreen,
>                 /* Needed for 028B6C_DISTRIBUTION_MODE != 0 */
>                 if (sscreen->has_distributed_tess) {
>                         if (key->u.uses_gs) {
>                                 if (sscreen->b.chip_class <= VI)
>                                         partial_es_wave = true;
>
>                                 /* GPU hang workaround. */
>                                 if (sscreen->b.family == CHIP_TONGA ||
>                                     sscreen->b.family == CHIP_FIJI ||
>                                     sscreen->b.family == CHIP_POLARIS10 ||
> -                                   sscreen->b.family == CHIP_POLARIS11)
> +                                   sscreen->b.family == CHIP_POLARIS11 ||
> +                                   sscreen->b.family == CHIP_POLARIS12)
>                                         partial_vs_wave = true;
>                         } else {
>                                 partial_vs_wave = true;
>                         }
>                 }
>         }
>
>         /* This is a hardware requirement. */
>         if (key->u.line_stipple_enabled ||
>             (sscreen->b.debug_flags & DBG_SWITCH_ON_EOP)) {
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list