From 4a553212fa171ddaf849d4abb2d67208390cd769 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 10 Jan 2020 14:53:51 +0100 Subject: [PATCH] radv: enable ACO support for GFX6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit CTS should pass, as well as Crucible and the few number of Piglit tests. List of game benchmarks tested: - Dawn of War 3 - Serious Sam 2017 - Shadow of The Tomb Raider - The Talos Principle - Thrones of Britannia - Total Warhammer 2 - Total War: Three Kingdoms Note that F12017 hangs with or without ACO on GFX6 at the moment. My whole pipelinedb (~30 games) doesn't trigger any compiler crashes. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2401 Signed-off-by: Samuel Pitoiset Reviewed-by: Daniel Schürmann Tested-by: Marge Bot Part-of: --- src/amd/vulkan/radv_device.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 2b222d331a3..52451575e98 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -398,10 +398,6 @@ radv_physical_device_init(struct radv_physical_device *device, radv_handle_env_var_force_family(device); device->use_aco = instance->perftest_flags & RADV_PERFTEST_ACO; - if (device->rad_info.chip_class < GFX7 && device->use_aco) { - fprintf(stderr, "WARNING: disabling ACO on unsupported GPUs.\n"); - device->use_aco = false; - } snprintf(device->name, sizeof(device->name), "AMD RADV%s %s (LLVM " MESA_LLVM_VERSION_STRING ")", device->use_aco ? "/ACO" : "", -- 2.30.2