Message ID | 20171004111947.12639-12-lionel.g.landwerlin@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 4 October 2017 at 12:19, Lionel Landwerlin <lionel.g.landwerlin@intel.com> wrote: > 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>
diff --git a/tests/perf.c b/tests/perf.c index 063182bc..4febdf99 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;
Using the same timestamp frequency as Skylake/Kabylake. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> --- tests/perf.c | 10 ++++++++++ 1 file changed, 10 insertions(+)