summaryrefslogtreecommitdiff
path: root/tests/perf.c
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-04-11 10:55:23 -0700
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-08-31 11:23:58 +0100
commit8a97c450074d8b7cbc6e576f86c0fe8a8a406fd6 (patch)
treed5a3ec18de713c2914ed542759c808710e369c78 /tests/perf.c
parent5148162789d518e1bdd004b5f7cc11ffb00696e2 (diff)
tests/perf: add Kabylake support
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tests/perf.c')
-rw-r--r--tests/perf.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/tests/perf.c b/tests/perf.c
index dd2263ee..46df9632 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -843,8 +843,23 @@ init_sys_info(void)
} else if (IS_BROXTON(devid)) {
test_set_uuid = "5ee72f5c-092f-421e-8b70-225f7c3e9612";
timestamp_frequency = 19200000;
- } else
+ } else if (IS_KABYLAKE(devid)) {
+ switch (intel_gt(devid)) {
+ case 1:
+ test_set_uuid = "baa3c7e4-52b6-4b85-801e-465a94b746dd";
+ break;
+ case 2:
+ test_set_uuid = "f1792f32-6db2-4b50-b4b2-557128f1688d";
+ break;
+ default:
+ igt_debug("unsupported Kabylake GT size\n");
+ return false;
+ }
+ timestamp_frequency = 12000000;
+ } else {
+ igt_debug("unsupported GT\n");
return false;
+ }
gp.param = I915_PARAM_EU_TOTAL;
gp.value = &n_eus;