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 F0E5DEB64DA for ; Sun, 9 Jul 2023 00:32:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 995B610E0DF; Sun, 9 Jul 2023 00:32:25 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id ACBF710E0DF for ; Sun, 9 Jul 2023 00:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688862743; x=1720398743; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=vPzTNnkLUiG1B/Qw/0SQKnhsy1k7QjgC9L5oc3Jduro=; b=V0DOLIFQhznIVF3LvYr5bgMd99qyXr5o4rckvW314S2f6LxVpTqcb4ZP rOa/v6by4Yf/CmBjJNl6s6fYASiYCn31MtBh+RD9mYZgB7rXTijJ4mPun 3x/13QER6uGKsEGkRCYT8hn6uVDqRfKcGa/u0uPo2IHoFtXa6Uu6q5QS0 lFY2qLxmS4qKGkdYsWYHNwhurV/ZPVUI0Q6/ritFRi6knRF/xyKXTjDS4 +I7SBf4meLVgcQ44nhQfZQS1qOn0oC50HlWe3phFG5iF4wsNe6MKhWBZR 4kVRqRg1t1eE+cHU2m87LzMinWimBYU2YF7Sb3kDAxVp3+bS+NUFcGyVB w==; X-IronPort-AV: E=McAfee;i="6600,9927,10765"; a="394894588" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="394894588" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2023 17:32:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10765"; a="810428745" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="810428745" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.212.153.202]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2023 17:32:22 -0700 Date: Sat, 08 Jul 2023 17:32:21 -0700 Message-ID: <87y1jphqlm.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: "Iddamsetty, Aravind" In-Reply-To: <04ae6811-9bc1-c66d-6cb8-640bfd8a9c7b@intel.com> References: <20230627122113.1472532-1-aravind.iddamsetty@intel.com> <20230627122113.1472532-3-aravind.iddamsetty@intel.com> <87mt09daqu.wl-ashutosh.dixit@intel.com> <87a5w8cvmr.wl-ashutosh.dixit@intel.com> <04ae6811-9bc1-c66d-6cb8-640bfd8a9c7b@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/28.2 (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 v2 2/2] drm/xe/pmu: Enable PMU interface 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: Bommu Krishnaiah , intel-xe@lists.freedesktop.org, Tvrtko Ursulin Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Thu, 06 Jul 2023 20:53:47 -0700, Iddamsetty, Aravind wrote: > On 07-07-2023 07:48, Dixit, Ashutosh wrote: > > On Thu, 06 Jul 2023 06:42:29 -0700, Iddamsetty, Aravind wrote: > > Also, could you please explain where the requirement to expose these OAG > > group busy/free registers via the PMU is coming from? Since these are OA > > registers presumably they can be collected using the OA subsystem. > > L0 sysman needs this > https://spec.oneapi.io/level-zero/latest/sysman/api.html#zes-engine-properties-t > and xpumanager uses this > https://github.com/intel/xpumanager/blob/master/core/src/device/gpu/gpu_device.cpp Also there is the above mentioned open regarding this: "Since these are OA registers presumably they can be collected using the OA subsystem". L0 now seems to be supporting OA and we are going to provide an OA subsystem for xe. This probably also needs arch input.