From f15409ee5539579c227fa916d410945b0516d712 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 25 Apr 2019 05:27:34 +0800 Subject: i965: fix icelake performance query enabling This was a rebase issue which lost of change to a file moved from i965 to src/intel/perf. Signed-off-by: Lionel Landwerlin Fixes: 134e750e16bfc5 ("i965: extract performance query metrics") Reviewed-by: Kenneth Graunke --- src/intel/perf/gen_perf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/intel/perf/gen_perf.c') diff --git a/src/intel/perf/gen_perf.c b/src/intel/perf/gen_perf.c index 777adfc7b7e..66497e457d9 100644 --- a/src/intel/perf/gen_perf.c +++ b/src/intel/perf/gen_perf.c @@ -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; } -- cgit v1.2.3