Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [i-g-t] i915/perf: Enable perf OA tests for RPLS
Date: Sun, 26 Dec 2021 19:42:29 -0800	[thread overview]
Message-ID: <87ee5yww62.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20211224103139.61493-1-tejaskumarx.surendrakumar.upadhyay@intel.com>

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@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@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
>

      parent reply	other threads:[~2021-12-27  3:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 10:31 [igt-dev] [i-g-t] i915/perf: Enable perf OA tests for RPLS Tejas Upadhyay
2021-12-24 11:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-12-24 12:40 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-12-27  3:42 ` Dixit, Ashutosh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee5yww62.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=tejaskumarx.surendrakumar.upadhyay@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox