summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-07-23 08:41:15 +0200
committerSamuel Pitoiset <[email protected]>2019-07-23 14:15:55 +0200
commitd36af71f44931a2fc23d01dd3736889b3efd7068 (patch)
tree7773dcb199041e32342711b13da1850cf78cd435 /src/amd/vulkan/radv_device.c
parentc41545c2f523e9f29e94317d5378045618ba6f67 (diff)
radv/gfx10: enable CLEAR_state
It actually works. 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.c3
1 files changed, 1 insertions, 2 deletions
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;