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:
parent
9f68367d19
commit
2b2093961e
|
@ -1127,11 +1127,13 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
||||||
sscreen->info.chip_class >= GFX10;
|
sscreen->info.chip_class >= GFX10;
|
||||||
|
|
||||||
/* Only enable primitive binning on APUs by default. */
|
/* Only enable primitive binning on APUs by default. */
|
||||||
sscreen->dpbb_allowed = sscreen->info.chip_class >= GFX9 &&
|
if (sscreen->info.chip_class >= GFX10) {
|
||||||
!sscreen->info.has_dedicated_vram;
|
sscreen->dpbb_allowed = true;
|
||||||
|
sscreen->dfsm_allowed = !sscreen->info.has_dedicated_vram;
|
||||||
sscreen->dfsm_allowed = sscreen->info.chip_class >= GFX9 &&
|
} else if (sscreen->info.chip_class == GFX9) {
|
||||||
!sscreen->info.has_dedicated_vram;
|
sscreen->dpbb_allowed = !sscreen->info.has_dedicated_vram;
|
||||||
|
sscreen->dfsm_allowed = !sscreen->info.has_dedicated_vram;
|
||||||
|
}
|
||||||
|
|
||||||
/* Process DPBB enable flags. */
|
/* Process DPBB enable flags. */
|
||||||
if (sscreen->debug_flags & DBG(DPBB)) {
|
if (sscreen->debug_flags & DBG(DPBB)) {
|
||||||
|
|
Loading…
Reference in New Issue