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

Dixit, Ashutosh ashutosh.dixit at intel.com
Mon Dec 27 03:42:29 UTC 2021


On Fri, 24 Dec 2021 02:31:39 -0800, Tejas Upadhyay wrote:
>
> RPLS and ADLS use the same OA metrics. Add RPLS support for OA tests.

Acked-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

Will merge this too when servers are back up.

> 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