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 2EA566E372 for ; Thu, 7 Jan 2021 00:07:27 +0000 (UTC) Date: Wed, 6 Jan 2021 16:07:26 -0800 From: Umesh Nerlige Ramappa Message-ID: <20210107000726.GC71919@orsosgc001.ra.intel.com> References: <20201228031940.178954-1-lionel.g.landwerlin@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201228031940.178954-1-lionel.g.landwerlin@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 1/4] lib/i915/perf: fix intel_perf_devinfo gen field List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Lionel Landwerlin Cc: igt-dev@lists.freedesktop.org List-ID: On Mon, Dec 28, 2020 at 05:19:37AM +0200, Lionel Landwerlin wrote: >Inadvertently left this field uninitialized (or rather at the wrong 0 >value). > >Signed-off-by: Lionel Landwerlin Reviewed-by: Umesh Nerlige Ramappa Thanks, Umesh >Fixes: 53f8f541caae20 ("lib: Add i915_perf library") >--- > lib/i915/perf.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/lib/i915/perf.c b/lib/i915/perf.c >index 53c0a9dcc..ef0f0b437 100644 >--- a/lib/i915/perf.c >+++ b/lib/i915/perf.c >@@ -168,6 +168,7 @@ intel_perf_for_devinfo(uint32_t device_id, > * 2x6 does not have 2 samplers). > */ > perf->devinfo.devid = device_id; >+ perf->devinfo.gen = devinfo->gen; > perf->devinfo.revision = revision; > perf->devinfo.timestamp_frequency = timestamp_frequency; > perf->devinfo.gt_min_freq = gt_min_freq; >-- >2.30.0.rc2 > _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev