From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1875E10E2CE for ; Mon, 27 Dec 2021 03:42:30 +0000 (UTC) Date: Sun, 26 Dec 2021 19:42:29 -0800 Message-ID: <87ee5yww62.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20211224103139.61493-1-tejaskumarx.surendrakumar.upadhyay@intel.com> References: <20211224103139.61493-1-tejaskumarx.surendrakumar.upadhyay@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [i-g-t] i915/perf: Enable perf OA tests for RPLS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Tejas Upadhyay Cc: igt-dev@lists.freedesktop.org List-ID: 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 Will merge this too when servers are back up. > Resolves: https://gitlab.freedesktop.org/drm/intel/-/issues/4808 > Signed-off-by: Tejas Upadhyay > --- > 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 >