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 3B7DAC25B7C for ; Fri, 24 May 2024 03:15:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B422D10E309; Fri, 24 May 2024 03:15:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="HMPQ9Kk+"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id CAFF410E059 for ; Fri, 24 May 2024 03:14:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716520489; x=1748056489; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=rK9fRYdqWhAldYvRB7PY/4wYNsBYbVb82RRMdluFEbk=; b=HMPQ9Kk+wLExpJAMHgQK99SidaXrGtC5htdFLaT5cAczvXlaXlFu6PGL A99LXT1Lrq8FYFJXqNrzL8Av0P5Ev6m+UWDqhugIh5sgHs4i4GbyyiCzf /z3QJjMyG1LmOeGgZ0EUJx4OHBMATAxZyqDMfPuCi95xLVtwejIOw1SMA YftqUTipaw5j59CioG3xl+Eyj8NE9I81Zzu3EqHCeLRBTNBGNngcZ990M SaEfRgE5j0lB+dn5ITupnOZ7Sqn3GSDey9Dx5j8/kCPzr+JV5IMz6ltES 9i3GxjWdk4iH2UZuIgSMc/ViNRvUGcpbzZ51ZefeUpfcS31uez9jHfX1v Q==; X-CSE-ConnectionGUID: 6/Zki3xPTlaYaMh7JhFRrw== X-CSE-MsgGUID: RPYANBrbQaGuAhnJPA9SzA== X-IronPort-AV: E=McAfee;i="6600,9927,11081"; a="30384623" X-IronPort-AV: E=Sophos;i="6.08,184,1712646000"; d="scan'208";a="30384623" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2024 20:14:48 -0700 X-CSE-ConnectionGUID: HKvXqfgcR+yXwpdoqI5AFw== X-CSE-MsgGUID: 1duK3qpjRHK73ALg/4923Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,184,1712646000"; d="scan'208";a="34413513" Received: from orsosgc001.jf.intel.com ([10.165.21.138]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2024 20:14:47 -0700 From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 02/23] lib/xe/oa: Add LNL metric guids Date: Thu, 23 May 2024 20:14:18 -0700 Message-ID: <20240524031439.106332-3-ashutosh.dixit@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240524031439.106332-1-ashutosh.dixit@intel.com> References: <20240524031439.106332-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