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 31ECBC27C55 for ; Fri, 7 Jun 2024 20:09:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96A0910ED0A; Fri, 7 Jun 2024 20:09:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="oEYus9pu"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 34C4410ECF8 for ; Fri, 7 Jun 2024 20:08:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717790939; x=1749326939; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=rK9fRYdqWhAldYvRB7PY/4wYNsBYbVb82RRMdluFEbk=; b=oEYus9puDsoNzVMTnN2BTNxmH+t3tXDNbvNEi5u4Ox7n5bL5vgTK5K2E lHwjezU+nMGw3I329UnaTPtH34X96SLIeMiDKvikiFVb8HObkpy9hafQV ETmRsoDOUMKrWXJmdEDsla3PHoE3QOsRsdtNzWTnyTfdiXWwjlMwisRP0 M4tlibxeNRBdqB2/JhRY8aSZQJF4QbW03KH/coLGU+l3UWW4XCNQK/ecB 3GoaEPpk++udL6YIp+ysN+BYcsw8Fa7nDT2JX5wQnVAm5jEby6JZsUkL2 g9oo0g6+fTwjAwM6qKze2svyuSeFl461d+7MdrYSwKGeP49JNzG+LBmfb g==; X-CSE-ConnectionGUID: NCx2Px0UQHCpaLbQ3itqkg== X-CSE-MsgGUID: Mlg0n7EOQIeTMFZe5tdP7w== X-IronPort-AV: E=McAfee;i="6600,9927,11096"; a="18383213" X-IronPort-AV: E=Sophos;i="6.08,221,1712646000"; d="scan'208";a="18383213" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 13:08:58 -0700 X-CSE-ConnectionGUID: x3MvaEFNT2KzAATIB6SmgQ== X-CSE-MsgGUID: twa5rgMDS7GbQPO9rVRXcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,221,1712646000"; d="scan'208";a="38373830" Received: from orsosgc001.jf.intel.com ([10.165.21.138]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 13:08:58 -0700 From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 02/27] lib/xe/oa: Add LNL metric guids Date: Fri, 7 Jun 2024 13:08:22 -0700 Message-ID: <20240607200847.1964629-3-ashutosh.dixit@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240607200847.1964629-1-ashutosh.dixit@intel.com> References: <20240607200847.1964629-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 510450f87a..27330edd3d 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 ab14b398f3..bc265cc689 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 0c7d129404..18f3458e84 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