From 23a578df1df1891b943cd5c3f8c6080b5215e8d7 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 31 Aug 2017 11:32:28 +0100 Subject: tests/perf: add support for Coffeelake Using the same timestamp frequency as Skylake/Kabylake. Signed-off-by: Lionel Landwerlin Reviewed-by: Matthew Auld --- tests/perf.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; -- cgit v1.2.3