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

Nicolai Hähnle nhaehnle at gmail.com
Fri May 5 16:40:06 UTC 2017


On 05.05.2017 17:14, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Cc: 17.1 <mesa-stable at lists.freedesktop.org>

Reviewed-by: Nicolai Hähnle <nicolai.haehnle 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)) {
>


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list