radv: Enable ACO on Navi.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 17 Sep 2019 17:59:52 +0000 (19:59 +0200)
committerDaniel Schürmann <daniel@schuermann.dev>
Wed, 30 Oct 2019 16:54:41 +0000 (16:54 +0000)
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c

index 53751e9e242598d6acb797bd558f9136c6240940..5fcc17e6e6d9396253c82db9f34983ab61018954 100644 (file)
@@ -322,8 +322,7 @@ 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 < GFX8 ||
-            device->rad_info.chip_class > GFX9) && device->use_aco) {
+       if (device->rad_info.chip_class < GFX8 && device->use_aco) {
                fprintf(stderr, "WARNING: disabling ACO on unsupported GPUs.\n");
                device->use_aco = false;
        }