i965: fix icelake performance query enabling
[mesa.git] / src / intel / perf / gen_perf.c
index 777adfc7b7ee3fed039af99c532a6b4722d962f9..66497e457d95e0ea0bd87282057908109e532550 100644 (file)
@@ -378,6 +378,8 @@ get_register_queries_function(const struct gen_device_info *devinfo)
    }
    if (devinfo->is_cannonlake)
       return gen_oa_register_queries_cnl;
+   if (devinfo->gen == 11)
+      return gen_oa_register_queries_icl;
 
    return NULL;
 }