[Mesa-dev] [PATCH 4/4] radv: re-enable init gfx state on CIK.

Dave Airlie airlied at gmail.com
Tue Feb 14 06:10:49 UTC 2017


From: Dave Airlie <airlied at redhat.com>

Once the color alignment was fixed this works fine now.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/amd/vulkan/radv_device.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 9bc44b8..1132eeb 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -949,8 +949,7 @@ VkResult radv_CreateDevice(
 			goto fail;
 	}
 
-	/* temporarily disabled on CIK */
-	if (device->physical_device->rad_info.chip_class > CIK)
+	if (device->physical_device->rad_info.chip_class >= CIK)
 		cik_create_gfx_config(device);
 
 	*pDevice = radv_device_to_handle(device);
-- 
2.9.3



More information about the mesa-dev mailing list