ac/gpu_info: always use distributed tessellation on gfx10

This might fix a hang on Navi14.

Cc: 19.2 19.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
(cherry picked from commit 186335d17d)
This commit is contained in:
Marek Olšák 2019-12-30 21:27:02 -05:00 committed by Dylan Baker
parent c54178f796
commit 5657ca2fe7

View file

@ -506,8 +506,8 @@ bool ac_query_gpu_info(int fd, void *dev_p,
*/
info->has_clear_state = info->chip_class >= GFX7;
info->has_distributed_tess = info->chip_class >= GFX8 &&
info->max_se >= 2;
info->has_distributed_tess = info->chip_class >= GFX10 ||
(info->chip_class >= GFX8 && info->max_se >= 2);
info->has_dcc_constant_encode = info->family == CHIP_RAVEN2 ||
info->family == CHIP_RENOIR ||