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 D0FBAC2BD09 for ; Fri, 28 Jun 2024 22:24:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8BA9C10E303; Fri, 28 Jun 2024 22:24:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="a+WASTNR"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id 773AC10ED54 for ; Fri, 28 Jun 2024 22:24:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719613446; x=1751149446; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=QwkuohqoWzcnusmhqayY0Ug61NcGn5C9Zu125N7kOn8=; b=a+WASTNR+htxWYauMBGSdgfAf54bIBkpta3F3uaE4lFCCKPfcxQQrZNk 6v+5wEqApkp+pS0g8ij2iOf2+CaDsMY6RQz9od1qqihdyUl7kTBMuyIAx JghC33MQwzLg9yeVA35zuOHiugZYevsKpmxyEMbkmUr+Hz2p8W5Nt6xiq p07zhazkJx3h/qRa3PWMgt6cU9uJYbM00bUv4hvLaC2n1TFrHhcMmGVf6 fhZOwUpiGfG8nlZ6KkZsIy4bZN1kr9rFjA3ThJYeNMXe7aDl8I8ApTczv vq937KevVowBQH2/0RybPE22q7ZcQmfdXSuHCgmh2IlUE8066JwFqNVzN Q==; X-CSE-ConnectionGUID: XhSTOZMeTKaz9ZUYi3puCA== X-CSE-MsgGUID: MCaK38tYTeOhx+bHPnf4qA== X-IronPort-AV: E=McAfee;i="6700,10204,11117"; a="42232695" X-IronPort-AV: E=Sophos;i="6.09,170,1716274800"; d="scan'208";a="42232695" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2024 15:24:04 -0700 X-CSE-ConnectionGUID: qWi4rZZoSW2fFL5AlLgsmw== X-CSE-MsgGUID: l1oHHxDISICACtHU0OVqqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,170,1716274800"; d="scan'208";a="45616218" Received: from orsosgc001.jf.intel.com ([10.165.21.138]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2024 15:24:04 -0700 From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 16/16] xe/oa/oa-metricset-codegen: Fix XE_OA_FORMAT_PEC64u64 offsets Date: Fri, 28 Jun 2024 15:23:58 -0700 Message-ID: <20240628222358.2151036-17-ashutosh.dixit@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240628222358.2151036-1-ashutosh.dixit@intel.com> References: <20240628222358.2151036-1-ashutosh.dixit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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" From: José Roberto de Souza XE_OA_FORMAT_PEC64u64 only has pec_offset. Signed-off-by: José Roberto de Souza Reviewed-by: Umesh Nerlige Ramappa --- lib/xe/oa-configs/oa-metricset-codegen.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/xe/oa-configs/oa-metricset-codegen.py b/lib/xe/oa-configs/oa-metricset-codegen.py index f4a008d690..5fa12f9caf 100644 --- a/lib/xe/oa-configs/oa-metricset-codegen.py +++ b/lib/xe/oa-configs/oa-metricset-codegen.py @@ -145,11 +145,7 @@ def generate_metric_sets(args, gen): metric_set->perf_raw_size = 576; metric_set->gpu_time_offset = 0; metric_set->gpu_clock_offset = 1; - metric_set->a_offset = 2; - // metric_set->b_offset = metric_set->a_offset + 38; - // metric_set->c_offset = metric_set->b_offset + 8; - metric_set->perfcnt_offset = metric_set->a_offset + 64; - + metric_set->pec_offset = 2; """)) else: c(textwrap.dedent("""\ -- 2.41.0