Commit 53b50be3 authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Marge Bot
Browse files

radv/gfx10: enable all CUs if NGG is never used



Ported from RadeonSI.

Signed-off-by: Samuel Pitoiset's avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <!3382>
parent 5ff12322
......@@ -327,8 +327,11 @@ si_emit_graphics(struct radv_physical_device *physical_device,
}
}
/* Don't use late alloc for NGG on Navi14 due to a hw bug. */
if (physical_device->rad_info.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 (!physical_device->use_ngg ||
physical_device->rad_info.family == CHIP_NAVI14) {
late_alloc_limit_gs = 0;
cu_mask_gs = 0xffff;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment