aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_performance_query.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-02-22 17:12:42 +0000
committerLionel Landwerlin <[email protected]>2018-03-22 20:14:22 +0000
commit903e9952fbce28677945325fd3ac6f01b3e560ce (patch)
treecc9f6a40fb86fb11a7ba014788d0483470386691 /src/mesa/drivers/dri/i965/brw_performance_query.c
parente7f6d1e5f8a4486b1c04b70979131fe4c1852809 (diff)
i965: add performance query support on CNL
v2: Add brw_oa_cnl.xml to EXTRA_DIST (Emil) Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_performance_query.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_query.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c b/src/mesa/drivers/dri/i965/brw_performance_query.c
index cca74001f19..4144aa3c9b8 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/src/mesa/drivers/dri/i965/brw_performance_query.c
@@ -2142,6 +2142,8 @@ get_register_queries_function(const struct gen_device_info *devinfo)
if (devinfo->gt == 3)
return brw_oa_register_queries_cflgt3;
}
+ if (devinfo->is_cannonlake)
+ return brw_oa_register_queries_cnl;
return NULL;
}