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 <ch...@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwer...@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to