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 EE7D7C48260 for ; Fri, 16 Feb 2024 23:17:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6790B10ECEF; Fri, 16 Feb 2024 23:17:12 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="NlvT/YIn"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id C852810ECE9 for ; Fri, 16 Feb 2024 23:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708125432; x=1739661432; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NQaUiAvzT/+fP9Rhg15YSHXmJEzEgQr/3CA1gZB8xKo=; b=NlvT/YIneshN0vq+buzMmAcVWtsPbh0iMXueHcXh1j2BoaPs6XVbDyWP mXhAW+6OaminIbtn2p0BeORgokwOCGtEZUqCBMEnq4opBDGJVQsREXV9F lMc4ZjPaWlujspvwGMY5+dbQzUIDi+uhDZjATlpVhyLExv74q8chHxlgQ MSgBuzTpHtjMwB09v6X6iAa4v2VbwxNZsZvtLSd3tO+I27mKtcsRCn9PT OR0BMUKL8zCNC/mr16PfQ4ey4N5AnPbJeHOBg/Cu0LyygG6EXnKEc8e3G tCCTB0VOSV7nb6rdESqpCiCRi4rOd5D22EjkMAD5AjAirC5GznrkHey2f Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10986"; a="27724275" X-IronPort-AV: E=Sophos;i="6.06,165,1705392000"; d="scan'208";a="27724275" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2024 15:17:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,165,1705392000"; d="scan'208";a="8626853" Received: from orsosgc001.jf.intel.com (HELO unerlige-ril.jf.intel.com) ([10.165.21.138]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2024 15:17:08 -0800 From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Cc: Umesh Nerlige Ramappa Subject: [PATCH i-g-t 02/18] lib/xe/oa: Add LNL metric guids Date: Fri, 16 Feb 2024 15:16:47 -0800 Message-ID: <20240216231703.845644-3-ashutosh.dixit@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240216231703.845644-1-ashutosh.dixit@intel.com> References: <20240216231703.845644-1-ashutosh.dixit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" $ update-guids.py --guids=guids.xml MetricsXML_P31.xml > guids.xml2 And copying the new guids to guids.xml (as per the README). Note: as mentioned in update-guids.py and README.md, in order to generate config_hash in guids.xml, mdapi-convert-xml.py must first be run (as outline in the next commit) and then update-guids.py command above should be repeated. Note: LNL media guids had issues after running mdapi-convert-xml.py so have not been added, revisit this. Signed-off-by: Ashutosh Dixit --- lib/xe/oa-configs/guids.xml | 14 ++++++++++++++ lib/xe/oa-configs/oa_guid_registry.py | 16 +++++++++++++++- lib/xe/oa-configs/update-guids.py | 1 + 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/lib/xe/oa-configs/guids.xml b/lib/xe/oa-configs/guids.xml index 510450f87a76..27330edd3df7 100644 --- a/lib/xe/oa-configs/guids.xml +++ b/lib/xe/oa-configs/guids.xml @@ -2746,4 +2746,18 @@ + + + + + + + + + + + + + + diff --git a/lib/xe/oa-configs/oa_guid_registry.py b/lib/xe/oa-configs/oa_guid_registry.py index ab14b398f328..bc265cc689ab 100644 --- a/lib/xe/oa-configs/oa_guid_registry.py +++ b/lib/xe/oa-configs/oa_guid_registry.py @@ -100,10 +100,24 @@ class Registry: 'DG1', 'ACM', 'PVC', - 'MTL', ) + 'MTL', + 'LNL', + ) if name in known_chipsets: return name + internal_chipsets = { + 'P22': 'ATS', + 'P24': 'DG2', + 'P25': 'PVC', + 'P26': 'ADL', + 'P27': 'MTL', + 'P31': 'LNL', + } + + if name in internal_chipsets: + return internal_chipsets[name] + # Unknown HW assert 0 diff --git a/lib/xe/oa-configs/update-guids.py b/lib/xe/oa-configs/update-guids.py index 0c7d12940476..18f3458e84c9 100755 --- a/lib/xe/oa-configs/update-guids.py +++ b/lib/xe/oa-configs/update-guids.py @@ -165,6 +165,7 @@ chipsets = [ 'hsw', 'tglgt1', 'tglgt2', 'rkl', 'dg1', 'adl', 'acmgt1', 'acmgt2', 'acmgt3', 'mtlgt2', 'mtlgt3', + 'lnl', ] for chipset in chipsets: -- 2.41.0