mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
radeonsi: simplify primitive binning enablement
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
3521297251
commit
4e56a2aaa8
1 changed files with 4 additions and 4 deletions
|
|
@ -1127,11 +1127,11 @@ 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.family == CHIP_RAVEN ||
|
||||
sscreen->info.family == CHIP_RAVEN2;
|
||||
sscreen->dpbb_allowed = sscreen->info.chip_class >= GFX9 &&
|
||||
!sscreen->info.has_dedicated_vram;
|
||||
|
||||
sscreen->dfsm_allowed = sscreen->info.family == CHIP_RAVEN ||
|
||||
sscreen->info.family == CHIP_RAVEN2;
|
||||
sscreen->dfsm_allowed = sscreen->info.chip_class >= GFX9 &&
|
||||
!sscreen->info.has_dedicated_vram;
|
||||
|
||||
/* Process DPBB enable flags. */
|
||||
if (sscreen->debug_flags & DBG(DPBB)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue