From: Marek Olšák Date: Sun, 23 Apr 2017 18:29:04 +0000 (+0200) Subject: radeonsi/gfx9: don't set deprecated field PARTIAL_ES_WAVE_ON X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80814819c28353a38c03d4cdba39983b8cf260ac;p=mesa.git radeonsi/gfx9: don't set deprecated field PARTIAL_ES_WAVE_ON Cc: 17.1 Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 193187b9a68..a354c6956b9 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -291,7 +291,8 @@ 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) { - partial_es_wave = true; + if (sscreen->b.chip_class <= VI) + partial_es_wave = true; /* GPU hang workaround. */ if (sscreen->b.family == CHIP_TONGA || @@ -371,7 +372,7 @@ si_get_init_multi_vgt_param(struct si_screen *sscreen, } /* If SWITCH_ON_EOI is set, PARTIAL_ES_WAVE must be set too. */ - if (ia_switch_on_eoi) + if (sscreen->b.chip_class <= VI && ia_switch_on_eoi) partial_es_wave = true; return S_028AA8_SWITCH_ON_EOP(ia_switch_on_eop) |