From: Samuel Pitoiset Date: Tue, 23 Jul 2019 06:41:15 +0000 (+0200) Subject: radv/gfx10: enable CLEAR_state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d36af71f44931a2fc23d01dd3736889b3efd7068;p=mesa.git radv/gfx10: enable CLEAR_state It actually works. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 992e12840f7..93b03afda22 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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;