summaryrefslogtreecommitdiffstats
path: root/src/intel/perf/gen_perf.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-04-25 05:27:34 +0800
committerLionel Landwerlin <[email protected]>2019-04-25 01:11:54 +0000
commitf15409ee5539579c227fa916d410945b0516d712 (patch)
tree628993568ecf3d0948d90cdd001129d504346f5c /src/intel/perf/gen_perf.c
parent36cfe5fd62237bc49a0bea0c2aeeaf9e89b6f11c (diff)
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 <[email protected]> Fixes: 134e750e16bfc5 ("i965: extract performance query metrics") Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/perf/gen_perf.c')
-rw-r--r--src/intel/perf/gen_perf.c2
1 files changed, 2 insertions, 0 deletions
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;
}