From: Samuel Pitoiset Date: Fri, 10 Jan 2020 13:53:51 +0000 (+0100) Subject: radv: enable ACO support for GFX6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a553212fa171ddaf849d4abb2d67208390cd769;p=mesa.git radv: enable ACO support for GFX6 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: --- 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" : "",