[igt-dev] [i-g-t] i915/perf: Enable perf OA tests for ADL-N

Tejas Upadhyay tejaskumarx.surendrakumar.upadhyay at intel.com
Tue Mar 22 12:25:01 UTC 2022


ADL-N and ADL use the same OA metrics. Add ADL-N support
for OA tests.

Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
---
 lib/i915/perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/i915/perf.c b/lib/i915/perf.c
index 98b2f29d..d88835ff 100644
--- a/lib/i915/perf.c
+++ b/lib/i915/perf.c
@@ -278,7 +278,7 @@ intel_perf_for_devinfo(uint32_t device_id,
 	} else if (devinfo->is_dg1) {
 		intel_perf_load_metrics_dg1(perf);
 	} else if (devinfo->is_alderlake_s || devinfo->is_alderlake_p ||
-		   devinfo->is_raptorlake_s) {
+		   devinfo->is_raptorlake_s || devinfo->is_alderlake_n) {
 		intel_perf_load_metrics_adl(perf);
 	} else {
 		return unsupported_i915_perf_platform(perf);
-- 
2.34.1



More information about the igt-dev mailing list