i965: fix icelake performance query enabling
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 24 Apr 2019 21:27:34 +0000 (05:27 +0800)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 25 Apr 2019 01:11:54 +0000 (01:11 +0000)
This was a rebase issue which lost of change to a file moved from i965
to src/intel/perf.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 134e750e16bfc5 ("i965: extract performance query metrics")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
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;
 }