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

Tejas Upadhyay tejaskumarx.surendrakumar.upadhyay at intel.com
Fri Dec 24 10:31:39 UTC 2021


RPLS and ADLS use the same OA metrics. Add RPLS support for OA tests.

Resolves: https://gitlab.freedesktop.org/drm/intel/-/issues/4808
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
---
 lib/i915/perf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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



More information about the igt-dev mailing list