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 4D83DC636D7 for ; Wed, 22 Feb 2023 00:11:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DBF210E19E; Wed, 22 Feb 2023 00:11:28 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8145310E19E for ; Wed, 22 Feb 2023 00:11:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677024686; x=1708560686; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=SrT9yOrUP3lvG+a/Ct/VB62k9eJK63rddfJ+rH8eEFg=; b=IPyQOn85r+kzzgTA86p8VeN9L8sTGzqVi8rm7vdXS7jsbGgKXLJJAB25 ZXMzeRXb2tvFAmYfMzhelBLQMMGXQyzb4PGAu5+jtcKAH3ym7LJcSf79l +1cfk4feK7woQ+lOMYIuTuz0suEGIQ+eFHrBmZwKTbMk9FJyHtsCM5EoT +JZztAIejvHvAHGQduT1tueQmZ05B5NzguitiQZKAOzBdAF8pQSsUAscf suFFvkrqBz+DIFI5FyIBSrgXBByj2ruy4AefKil//WxucKMigJN5y7Xqh xwga2rpNciwHjcPo2oYPF9wUHZBjhkv83RfzKUocWd5DRYTv2E3Ump8Q8 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10628"; a="320931719" X-IronPort-AV: E=Sophos;i="5.97,317,1669104000"; d="scan'208";a="320931719" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2023 16:10:17 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10628"; a="795691841" X-IronPort-AV: E=Sophos;i="5.97,317,1669104000"; d="scan'208";a="795691841" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.209.49.150]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2023 16:10:17 -0800 Date: Tue, 21 Feb 2023 16:10:17 -0800 Message-ID: <878rgqblw6.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa In-Reply-To: <87a616bmne.wl-ashutosh.dixit@intel.com> References: <20230217005850.2511422-1-umesh.nerlige.ramappa@intel.com> <20230217005850.2511422-9-umesh.nerlige.ramappa@intel.com> <87a616bmne.wl-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/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-gfx] [PATCH v2 8/9] drm/i915/perf: Add engine class instance parameters to perf X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Tue, 21 Feb 2023 15:53:57 -0800, Dixit, Ashutosh wrote: > > > + /** > > + * In platforms with multiple OA buffers, the engine class instance must > > + * be passed to open a stream to a OA unit corresponding to the engine. > > + * Multiple engines may be mapped to the same OA unit. > > + * > > + * In addition to the class:instance, if a gem context is also passed, then > > + * 1) the report headers of OA reports from other engines are squashed. > > Other engines or you mean other contexts? > > > + * 2) OAR is enabled for the class:instance > > For render engine? I think this means the engine will support MI_REPORT_PERF_COUNT but not sure how this (or if anything) is done.