[igt-dev] [PATCH i-g-t] i915/perf: Enable perf OA tests for ADLP
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Wed Jun 23 23:40:46 UTC 2021
ADLP and ADLS use the same OA metrics. Add ADLP support for OA tests.
Resolves: https://gitlab.freedesktop.org/drm/intel/-/issues/3551
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa 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 9d5ab7a5..9cfa3bca 100644
--- a/lib/i915/perf.c
+++ b/lib/i915/perf.c
@@ -277,7 +277,7 @@ 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) {
+ } else if (devinfo->is_alderlake_s || devinfo->is_alderlake_p) {
intel_perf_load_metrics_adl(perf);
} else {
return unsupported_i915_perf_platform(perf);
--
2.20.1
More information about the igt-dev
mailing list