summaryrefslogtreecommitdiff
path: root/tests/perf.c
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-08-31 11:32:28 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-10-04 13:44:00 +0100
commit23a578df1df1891b943cd5c3f8c6080b5215e8d7 (patch)
tree617f72b0ae77804326ee8aaa0f4d81a662be9be1 /tests/perf.c
parentf1514a6320f65a1524f36407f7f22d6fc7c7679e (diff)
tests/perf: add support for Coffeelake
Using the same timestamp frequency as Skylake/Kabylake. 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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/perf.c b/tests/perf.c
index a8b000ec..2adce76b 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -1145,6 +1145,16 @@ init_sys_info(void)
} else if (IS_GEMINILAKE(devid)) {
test_set_uuid = "dd3fd789-e783-4204-8cd0-b671bbccb0cf";
timestamp_frequency = 19200000;
+ } else if (IS_COFFEELAKE(devid)) {
+ switch (intel_gt(devid)) {
+ case 1:
+ test_set_uuid = "74fb4902-d3d3-4237-9e90-cbdc68d0a446";
+ break;
+ default:
+ igt_debug("unsupported Cannonlake GT size\n");
+ return false;
+ }
+ timestamp_frequency = 12000000;
} else {
igt_debug("unsupported GT\n");
return false;