[Intel-gfx] [PATCH i-g-t] perf: Treat Cometlake as an alias for Coffeelake

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 24 17:03:37 UTC 2020


The kernel doesn't differentiate between the Coffeelake and Cometlake
platforms, but igt does. Add the alias for perf to use the Coffeelake
register set for Cometlake.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 tests/perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/perf.c b/tests/perf.c
index a837551cb..f1f9b7cea 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -955,7 +955,7 @@ init_sys_info(void)
 			}
 		} else if (IS_GEMINILAKE(devid)) {
 			test_set_uuid = "dd3fd789-e783-4204-8cd0-b671bbccb0cf";
-		} else if (IS_COFFEELAKE(devid)) {
+		} else if (IS_COFFEELAKE(devid) || IS_COMETLAKE(devid)) {
 			switch (intel_gt(devid)) {
 			case 1:
 				test_set_uuid = "74fb4902-d3d3-4237-9e90-cbdc68d0a446";
-- 
2.25.0



More information about the Intel-gfx mailing list