From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88BBCC64EC4 for ; Tue, 28 Feb 2023 22:55:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69D1410E0E4; Tue, 28 Feb 2023 22:55:24 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2899810E0E4 for ; Tue, 28 Feb 2023 22:55:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677624922; x=1709160922; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=KDMRlfTYCHHcjYaBLICv7Bg3U3qMFlNX+OnSS+tzoo0=; b=PJC8EKV74AEH6K2GJ8b6TMSnWNIfgICX1dWWoINSNl7KhsANeYjZys4+ rvsLcHgu93l4Pxj52xyqRSBGncFiDsSwN3RqqDuA6T7n7PB3mfeNsTwYb 5OfZmu1sqctusM3FrRohYxIoh3vTSCYkGxXre2fbzXKZceIzBBsJz+t8W 2UvRHSgpxFMo+rkOZLpQ+BFW5O53WyL6NfJERdnVbWh18EthMfCXUVvRH /G9+Pr+wAOG8u0SmwisXva8xUXzYEkv9oOSULUolPAAQp6Op5wrD8S9od mTUpUoXrXKkAiPHZ2zkMIVjeoufqBepVrYbiRzucjkB6UNt0RsMmJ0NLp w==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="332997382" X-IronPort-AV: E=Sophos;i="5.98,223,1673942400"; d="scan'208";a="332997382" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 14:55:21 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="624239942" X-IronPort-AV: E=Sophos;i="5.98,223,1673942400"; d="scan'208";a="624239942" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.255.228.122]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 14:55:20 -0800 Date: Tue, 28 Feb 2023 14:55:20 -0800 Message-ID: <87ttz54cyv.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa In-Reply-To: <20230228022329.3615793-8-umesh.nerlige.ramappa@intel.com> References: <20230228022329.3615793-1-umesh.nerlige.ramappa@intel.com> <20230228022329.3615793-8-umesh.nerlige.ramappa@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Intel-gfx] [PATCH v3 7/9] drm/i915/perf: Handle non-power-of-2 reports X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Mon, 27 Feb 2023 18:23:27 -0800, Umesh Nerlige Ramappa wrote: > > Some of the newer OA formats are not powers of 2. For those formats, > adjust the hw_tail accordingly when checking for new reports. > > v2: (Ashutosh) > - Switch to OA_TAKEN for diff calculation > - Use OA_BUFFER_SIZE instead of the vma size > - Update comments Reviewed-by: Ashutosh Dixit