summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2019-07-21 03:40:00 +0200
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2019-07-23 21:26:59 +0200
commite5b3f0a867bef5cc4880d78d7a63feba6df4872a (patch)
treeda0ba4e9fc513961c70ddbddf768f07bc4c82c6b
parent3268c806fb2b7fe0f8fd27d698e732b39ec91147 (diff)
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 <airlied@redhat.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-rw-r--r--src/amd/vulkan/radv_device.c3
1 files changed, 1 insertions, 2 deletions
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. */