radv: re-enable init gfx state on CIK.
authorDave Airlie <airlied@redhat.com>
Tue, 14 Feb 2017 06:09:25 +0000 (16:09 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Feb 2017 19:02:29 +0000 (05:02 +1000)
Once the color alignment was fixed this works fine now.

Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 9bc44b8..1132eeb 100644 (file)
@@ -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);