diff options
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 66f0ba8f201..8087d0a8c66 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -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; } |