radeonsi/gfx10: enable all CUs for GS if NGG is never used

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
This commit is contained in:
Marek Olšák
2019-07-30 23:20:03 -04:00
parent 91227a1e17
commit 1d8a71af57
+4 -2
View File
@@ -5559,8 +5559,10 @@ static void si_init_config(struct si_context *sctx)
}
}
/* Don't use late alloc for NGG on Navi14 due to a hw bug. */
if (sctx->family == CHIP_NAVI14) {
/* Don't use late alloc for NGG on Navi14 due to a hw bug.
* If NGG is never used, enable all CUs.
*/
if (!sscreen->use_ngg || sctx->family == CHIP_NAVI14) {
late_alloc_limit_gs = 0;
cu_mask_gs = 0xffff;
}