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 4F767EE57C2 for ; Fri, 8 Sep 2023 04:30:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 130F410E861; Fri, 8 Sep 2023 04:30:55 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 19E1810E861 for ; Fri, 8 Sep 2023 04:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694147454; x=1725683454; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=AlnaHPdsCdCMzXQoiHTy+0DNxwM8N7gva3qMVqYFgXU=; b=g84yqlRgFALwHEpr7wr2v4izq4ToQ+FXik1hoE6Q7r2GL2GjbwC0gmEG HmGKsmPIMQyJk12MJ2Q/iH9RvTI5JRj+rMo97pzjld+TyvwPrZws6fo/p hTFSq47EoDAaV0JTIU6d8Bq2SsT2a3TnFzjnoRLzh811puNK4bW53oA/J fMir0zJBxazUg5ntbfB7Z7uDM4XKsRV1pL9aFd2jNGOdTdQP/zuvBnw6S DfNLkipN3Bjoj9xwTWhS+wEERRPobb6Jj0a04TH0VBQkWER0pVfAxnz4W DxysGTrg2xdyBNZIGuWm/JtMwtk5/LycqZ86MXmUWcAIRYu3PCDAei/lb g==; X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="441573435" X-IronPort-AV: E=Sophos;i="6.02,236,1688454000"; d="scan'208";a="441573435" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 21:30:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="771587206" X-IronPort-AV: E=Sophos;i="6.02,236,1688454000"; d="scan'208";a="771587206" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.209.97.168]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 21:30:53 -0700 Date: Thu, 07 Sep 2023 21:30:53 -0700 Message-ID: <87zg1xqoaq.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: "Nerlige Ramappa, Umesh" In-Reply-To: References: <20230808013159.38811-1-ashutosh.dixit@intel.com> <20230808013159.38811-4-ashutosh.dixit@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Intel-xe] [PATCH 03/10] drm/xe/oa: Add registers and GPU commands used by OA X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "intel-xe@lists.freedesktop.org" Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Tue, 22 Aug 2023 08:44:23 -0700, Nerlige Ramappa, Umesh wrote: > Hi Umesh, > On Mon, Aug 07, 2023 at 06:31:52PM -0700, Ashutosh Dixit wrote: > >Add registers and GPU commands used by OA in subsequent patches. The xe oa > >code programs OA units which generate performance data. The code also > >submits command buffers to change hardware engine context images and > >implement waits. > > > >Signed-off-by: Ashutosh Dixit > >--- > > drivers/gpu/drm/xe/regs/xe_engine_regs.h | 5 + > > drivers/gpu/drm/xe/regs/xe_gpu_commands.h | 27 ++++ > > drivers/gpu/drm/xe/regs/xe_oa_regs.h | 173 ++++++++++++++++++++++ > > 3 files changed, 205 insertions(+) > > create mode 100644 drivers/gpu/drm/xe/regs/xe_oa_regs.h > > > >diff --git a/drivers/gpu/drm/xe/regs/xe_engine_regs.h b/drivers/gpu/drm/xe/regs/xe_engine_regs.h > >index 79873bf64e8dd..044a4920f1568 100644 > >--- a/drivers/gpu/drm/xe/regs/xe_engine_regs.h > >+++ b/drivers/gpu/drm/xe/regs/xe_engine_regs.h > >@@ -84,6 +84,9 @@ > > > > #define RING_CTX_TIMESTAMP(base) XE_REG((base) + 0x3a8) > > > >+#define MI_PREDICATE_RESULT_2(base) XE_REG((base) + 0x3bc) > >+#define MI_PREDICATE_RESULT_1(base) XE_REG((base) + 0x41c) > >+ > > We can drop these changes until we decide to implement the noa wait. Done, in patch v2. Thanks. -- Ashutosh