From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE1D810E71B for ; Wed, 25 Jan 2023 04:55:50 +0000 (UTC) From: Ville Syrjala To: igt-dev@lists.freedesktop.org Date: Wed, 25 Jan 2023 06:55:22 +0200 Message-Id: <20230125045522.18169-10-ville.syrjala@linux.intel.com> In-Reply-To: <20230125045522.18169-1-ville.syrjala@linux.intel.com> References: <20230125045522.18169-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 10/10] tools/intel_watermark: Decode SAGV WM usage correctly on ADL+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Ville Syrjälä The LP6 bit in WM_DBG has become the SAGV bit on ADL+. Decode it correctly. Signed-off-by: Ville Syrjälä --- tools/intel_watermark.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index e598cf122159..115ae8b2ad19 100644 --- a/tools/intel_watermark.c +++ b/tools/intel_watermark.c @@ -625,6 +625,8 @@ static void skl_wm_dump(void) if (wm_dbg & (1 << (23 + level))) printf(" LP%d", level); } + if (skl_has_sagv_wm(devid) && wm_dbg & (1 << 29)) + printf(" SAGV"); printf("\n"); /* clear the sticky bits */ write_reg(0x45280, wm_dbg); -- 2.39.1