From: Lionel Landwerlin Date: Wed, 24 Apr 2019 21:27:34 +0000 (+0800) Subject: i965: fix icelake performance query enabling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f15409ee5539579c227fa916d410945b0516d712;p=mesa.git 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 --- 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; }