From: Dave Airlie Date: Tue, 14 Feb 2017 06:09:25 +0000 (+1000) Subject: radv: re-enable init gfx state on CIK. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eea562f87565bbccbe71ff33daf9db89bc883207;p=mesa.git radv: re-enable init gfx state on CIK. Once the color alignment was fixed this works fine now. Tested-by: Kai Wasserbäch Reviewed-by: Edward O'Callaghan Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 9bc44b84a2a..1132eeb52d7 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);