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 C0AACC3065A for ; Mon, 1 Jul 2024 02:53:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0869610E2E3; Mon, 1 Jul 2024 02:53:14 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="XNPYPm2J"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4F9B910E2E4 for ; Mon, 1 Jul 2024 02:53:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719802393; x=1751338393; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=zDbImIKwh7h/5DyfpPM1VSud8mmo1lbqy6iXlMDB/iE=; b=XNPYPm2JCakM/jA9/B9jnwjFzuKe0Gj/dmjb0b3hkW67uIamggVkTRPf NSENxuGtLTulcyIQHdvyf7Np5SGufkrJei20TZEe2qJW+qN+iIZaAt1T+ JI41lD1NneG8WhcDFDAs2lcshx7VNw9LmR66XM6glgHhBRfB0jtOZC8ZV igFRxanF5G2OJYTHf9rfXFkv4wnZ5gebv+IYie2iXr87f99OHE9sTde6l pTGO5+N0Rp/TpqdZL1u3qfNAbOn8SVN7Zwrq6zxNv9WoLyIV5XwZZAUun mOQ8UmVixGXIOwtMKhq/IfhtnYll4eXMZGitYy0W/5hv1+bBNoawOplYZ Q==; X-CSE-ConnectionGUID: Z4spxjfQTsuC80XyoVOLgg== X-CSE-MsgGUID: 3IOmG9WRQvG1ft8fPMsDZw== X-IronPort-AV: E=McAfee;i="6700,10204,11119"; a="16574737" X-IronPort-AV: E=Sophos;i="6.09,175,1716274800"; d="scan'208";a="16574737" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2024 19:53:13 -0700 X-CSE-ConnectionGUID: CVy9yGYjSpieS3W1C2MHag== X-CSE-MsgGUID: Obmbh90QRHe3UPbgRZd0sQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,175,1716274800"; d="scan'208";a="46101646" Received: from orsosgc001.jf.intel.com ([10.165.21.138]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2024 19:53:13 -0700 From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 01/14] lib/xe/oa: Add PVC support Date: Sun, 30 Jun 2024 19:52:56 -0700 Message-ID: <20240701025309.2416653-2-ashutosh.dixit@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240701025309.2416653-1-ashutosh.dixit@intel.com> References: <20240701025309.2416653-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" Add oa-pvc.xml and enable support for PVC. Signed-off-by: Ashutosh Dixit --- lib/meson.build | 5 +- lib/xe/oa-configs/oa-pvc.xml | 1018 ++++++++++++++++++++++++++++++++++ lib/xe/xe_oa.c | 4 + 3 files changed, 1024 insertions(+), 3 deletions(-) create mode 100644 lib/xe/oa-configs/oa-pvc.xml diff --git a/lib/meson.build b/lib/meson.build index 4d51402163..c70ca89602 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -385,10 +385,9 @@ xe_oa_files = [ xe_oa_hardware = [ 'tglgt1', 'tglgt2', - 'dg1', - 'rkl', - 'adl', + 'dg1', 'rkl', 'adl', 'acmgt1', 'acmgt2', 'acmgt3', + 'pvc', 'mtlgt2', 'mtlgt3', 'lnl', ] diff --git a/lib/xe/oa-configs/oa-pvc.xml b/lib/xe/oa-configs/oa-pvc.xml new file mode 100644 index 0000000000..9d212e65ad --- /dev/null +++ b/lib/xe/oa-configs/oa-pvc.xml @@ -0,0 +1,1018 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/xe/xe_oa.c b/lib/xe/xe_oa.c index 576358fe22..d2d0687d9a 100644 --- a/lib/xe/xe_oa.c +++ b/lib/xe/xe_oa.c @@ -36,6 +36,7 @@ #include "xe_oa_metrics_acmgt3.h" #include "xe_oa_metrics_mtlgt2.h" #include "xe_oa_metrics_mtlgt3.h" +#include "xe_oa_metrics_pvc.h" #include "xe_oa_metrics_lnl.h" static struct intel_xe_perf_logical_counter_group * @@ -296,6 +297,9 @@ intel_xe_perf_for_devinfo(uint32_t device_id, intel_xe_perf_load_metrics_acmgt3(perf); else return unsupported_xe_oa_platform(perf); + } else if (devinfo->is_pontevecchio) { + perf->devinfo.eu_threads_count = 8; + intel_xe_perf_load_metrics_pvc(perf); } else if (intel_graphics_ver(device_id) >= IP_VER(20, 0)) { intel_xe_perf_load_metrics_lnl(perf); } else { -- 2.41.0