From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6835310E20C for ; Tue, 21 Mar 2023 22:44:21 +0000 (UTC) Date: Tue, 21 Mar 2023 15:44:10 -0700 Message-ID: <87edphvi6d.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa In-Reply-To: <20230316233323.2638668-24-umesh.nerlige.ramappa@intel.com> References: <20230316233323.2638668-1-umesh.nerlige.ramappa@intel.com> <20230316233323.2638668-24-umesh.nerlige.ramappa@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] [PATCH i-g-t v3 23/31] i915/perf: Add support for engine specific metrics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org, Lionel G Landwerlin Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Thu, 16 Mar 2023 16:33:15 -0700, Umesh Nerlige Ramappa wrote: > > @@ -276,6 +275,10 @@ static void (*sanity_check_reports)(const uint32_t *oa_report0, > const uint32_t *oa_report1, > enum drm_i915_oa_format format); > > + > +static struct intel_perf_metric_set *metric_set(const struct intel_execution_engine2 *e2); Can optionally move the function definition here to avoid this declaration. Otherwise lgtm: Reviewed-by: Ashutosh Dixit