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 <lionel.g.landwerlin@intel.com>
Fixes: 134e750e16 ("i965: extract performance query metrics")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Lionel Landwerlin
2019-04-25 05:27:34 +08:00
parent 36cfe5fd62
commit f15409ee55

View 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;
}