[igt-dev] [i-g-t] i915/perf: Enable perf OA tests for ADL-N
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Tue Mar 22 13:57:12 UTC 2022
On 22/03/2022 14:25, Tejas Upadhyay wrote:
> 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>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Thanks for taking care of this.
-Lionel
> ---
> 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);
More information about the igt-dev
mailing list