radv/gfx10: enable CLEAR_state
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jul 2019 06:41:15 +0000 (08:41 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jul 2019 12:15:55 +0000 (14:15 +0200)
It actually works.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index 992e12840f7c91fc65117652232eae29c97a8f1c..93b03afda22ab937af2c733462ee11d25a32b388 100644 (file)
@@ -354,8 +354,7 @@ radv_physical_device_init(struct radv_physical_device *device,
        /* The mere presence of CLEAR_STATE in the IB causes random GPU hangs
         * on GFX6.
         */
-       device->has_clear_state = device->rad_info.chip_class >= GFX7 &&
-                                 device->rad_info.chip_class <= GFX9;
+       device->has_clear_state = device->rad_info.chip_class >= GFX7;
 
        device->cpdma_prefetch_writes_memory = device->rad_info.chip_class <= GFX8;