diff options
author | Samuel Pitoiset <[email protected]> | 2019-06-25 11:48:27 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-07 17:51:32 +0200 |
commit | faf27ee9b30035be03e531f95f4b591c872271de (patch) | |
tree | 2ad7952dbd2cd456a9d7ae6067cb092a2348fcc3 /src/amd/vulkan/radv_device.c | |
parent | 698f9e6fd343c5ea8f70b4be4dea395792649d53 (diff) |
radv/gfx10: disable CLEAR_STATE
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 2d5e5f511e0..e429192ce89 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -354,7 +354,8 @@ 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->has_clear_state = device->rad_info.chip_class >= GFX7 && + device->rad_info.chip_class <= GFX9; device->cpdma_prefetch_writes_memory = device->rad_info.chip_class <= GFX8; |