[igt-dev] [PATCH i-g-t] i915/perf: Enable perf OA tests for ADLP
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Jun 24 09:54:30 UTC 2021
On 24/06/2021 02:40, Umesh Nerlige Ramappa wrote:
> 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);
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
More information about the igt-dev
mailing list