radeonsi/gfx10: enable primitive binning by default

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Marek Olšák 2019-07-03 22:24:36 -04:00
parent 9f68367d19
commit 2b2093961e
1 changed files with 7 additions and 5 deletions

View File

@ -1127,11 +1127,13 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws,
sscreen->info.chip_class >= GFX10;
/* Only enable primitive binning on APUs by default. */
sscreen->dpbb_allowed = sscreen->info.chip_class >= GFX9 &&
!sscreen->info.has_dedicated_vram;
sscreen->dfsm_allowed = sscreen->info.chip_class >= GFX9 &&
!sscreen->info.has_dedicated_vram;
if (sscreen->info.chip_class >= GFX10) {
sscreen->dpbb_allowed = true;
sscreen->dfsm_allowed = !sscreen->info.has_dedicated_vram;
} else if (sscreen->info.chip_class == GFX9) {
sscreen->dpbb_allowed = !sscreen->info.has_dedicated_vram;
sscreen->dfsm_allowed = !sscreen->info.has_dedicated_vram;
}
/* Process DPBB enable flags. */
if (sscreen->debug_flags & DBG(DPBB)) {