From: Bas Nieuwenhuizen Date: Sun, 21 Jul 2019 01:40:00 +0000 (+0200) Subject: radv/gfx10: Enable binning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5b3f0a867bef5cc4880d78d7a63feba6df4872a;p=mesa.git radv/gfx10: Enable binning. Numbers for Talos: gfx10 without binning: 77.0 77.7 77.2 77.6 gfx10 with binning: 82.3 82.0 82.7 82.4 Reviewed-by: Dave Airlie Reviewed-by: Samuel Pitoiset --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 93b03afda22..9ba100df6e8 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1896,8 +1896,7 @@ VkResult radv_CreateDevice( } } - /* TODO: Enable binning for GFX10. */ - device->pbb_allowed = device->physical_device->rad_info.chip_class == GFX9 && + device->pbb_allowed = device->physical_device->rad_info.chip_class >= GFX9 && !(device->instance->debug_flags & RADV_DEBUG_NOBINNING); /* Disabled and not implemented for now. */