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 E67D7C74A4B for ; Thu, 9 Mar 2023 22:34:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 65CF010E8FC; Thu, 9 Mar 2023 22:34:19 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6960210E8FC for ; Thu, 9 Mar 2023 22:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678401257; x=1709937257; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=juyX4DY4U0uyDs/nMEyyvjyHYzlLwFZPMm6qQ+HeuRA=; b=j0DX6TiPvnLh5nPky0/e2j+CIjxN/AziM6WCdpMwx0ptjZa8ny1isCij RGtAb2eHYQKkgGrp2tVF3dBopt14kgtfgSaqhCN4mVkCR6B1mNJNyRWVY F5/qOUGjt+Ab+69i/fDzsQDRF7B4rbh5MyjvjHTFzsDJjTtKIm9MQ0Co5 DFMSFeixmHk59eMQRQmFxeFawDBkKPXv3dABZX7sboysFfFCfUFihZgh4 HU0iXbbPQ3UPRdbjuXOBlP4G+9pTHz3vEkUfODuV9hGXOPBlclJskFAEl fqrmrzBvGhXy6pqRgFc7cFwzhEwwdwWCAY+6Rtqg05P7XMQzAfjC4o6Yg w==; X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="364239028" X-IronPort-AV: E=Sophos;i="5.98,247,1673942400"; d="scan'208";a="364239028" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2023 14:34:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="654948887" X-IronPort-AV: E=Sophos;i="5.98,247,1673942400"; d="scan'208";a="654948887" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 09 Mar 2023 14:34:16 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 9 Mar 2023 14:34:16 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 9 Mar 2023 14:34:16 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 9 Mar 2023 14:34:16 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L2Fh0MYhiHpH12yjWWMy5JR6v42E6VTGZSOuR3S9mFhCnMs/5o+wvFg7tiqq9LxwebGEoAPOoNh3arSbXn9wRxl11MvtMVXfI03vD3OjBU2JM3FpYdr3c8A02l27acvzDxqdA4W6rCuXgmbAlmJT6r8TSWAvRiDpAzobu72lhYiIN4r6ewABZmo/qMRt1+h8Ymr4wc4bnzCdSrr/RrsSO0ZL44Hg4UFbrnbO3ryjoEo7FVG3NHk77bSOFHQFWJbrJTpioUJr8IY7om7jVP6Kc54yXmgj572nfUkXuacb/k4qOqlJx0EPLLrZLxFFxuFrL+XaB6ESfte17xl2xi2q2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DCEyXxIqYQbhEMCvhw5OOjM7UdimD97/Tsi0CA2uiRY=; b=SqqLAi07ansuxZ6eXiLrjKf26iwq6oEIye5WJgpkMH7Ub8AvtTMbmknwcqIICzqmidWl6OyM2+Si+YmdVu9Y/w1oN34FOnFwgigmqlq+tKxOYoV2eJ+cHiG1IYhj+L0DIRm4kOEDAbshVw9WJJ41B851Qi5xi2fsiIc2cbV7C2sR1uDOBRgYc0ZinTtgZOoW9/Weqhp4xVmpmzIix6y7VgQ6VPxlaZZph5/7npaAnq2wRDzS2bCbI7jGPN89yy++VJRnWEvhzvjLenh6MEXFUx1YyusCUKRQPyUWHYOurRqQ8RHZqBPaizUryJoEjhGHIViKczcaIZxj47asaiFcDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM6PR11MB2987.namprd11.prod.outlook.com (2603:10b6:5:65::14) by DM6PR11MB4628.namprd11.prod.outlook.com (2603:10b6:5:28f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.19; Thu, 9 Mar 2023 22:34:14 +0000 Received: from DM6PR11MB2987.namprd11.prod.outlook.com ([fe80::9bf9:4252:3ddc:7ac2]) by DM6PR11MB2987.namprd11.prod.outlook.com ([fe80::9bf9:4252:3ddc:7ac2%7]) with mapi id 15.20.6156.029; Thu, 9 Mar 2023 22:34:14 +0000 Date: Thu, 9 Mar 2023 14:34:04 -0800 From: Umesh Nerlige Ramappa To: "Dixit, Ashutosh" Message-ID: References: <20230307201611.773103-1-umesh.nerlige.ramappa@intel.com> <20230307201611.773103-9-umesh.nerlige.ramappa@intel.com> <87h6uvm7zm.wl-ashutosh.dixit@intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Disposition: inline In-Reply-To: <87h6uvm7zm.wl-ashutosh.dixit@intel.com> X-ClientProxiedBy: BYAPR05CA0009.namprd05.prod.outlook.com (2603:10b6:a03:c0::22) To DM6PR11MB2987.namprd11.prod.outlook.com (2603:10b6:5:65::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR11MB2987:EE_|DM6PR11MB4628:EE_ X-MS-Office365-Filtering-Correlation-Id: 646e7185-48e2-4ca7-ddb4-08db20ee6957 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7OeTQkcIcg/b0Pl3Y9y06phX0zM3Z7LxOePjOCi+b+MS0JEWJRZmuJ6/FxPdd0+R9IXJiFfxoo4UQ2DCdVXa5pSF0XyxMuPph/YgSQnrLfQSRoXwX/2UXmPa8pkYfoo71hj9ZkCcJqUoIsx5JvcJfwxlTrBfQb5RyJc5/ggbr7/6ogxB/b05hJlQCBQS0FO72XIicU1LCbDDDBl4nFjh2niuJviA/LBQuy7jBDBT7HRFWWlHmcxWRFypo7QSUryuIVgF44n8ilcq1PI0XF8TiNq8IeyNmZge9dmDAphbEoJUtwEQMGW4w9OJEEgadaXdxLWGhauiFVpYF25yhr7EtZKbyjjc/lTwBeptLGEpDCaKe8zQG/vBoWbRrsTAWHbN7ztgamdp/E5G8SNchjVX9meIZBrwYwWtz1kq8UXtzuhlveqEI0xOVMebsjOZlAK7DeQ9CWJqhVO0/2vaBK7I9NIVgCPQXx/MjEugjiszKrlXr33xLGKK3aIMePonNhzUh8D6mBLyfQzEocXbqcKh3h/X6FHx5ep0oRHpyIL0RvNAM4Owsd91JlfjH5SXES1IO/Z88mZ21pYomvT/Aw8o5yBvfxM6HnTp6Jic1QKomJrOQONENOOwrOQznWhHyUozT5wMwKTP7VCKNMmvAW2IfQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2987.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(366004)(376002)(136003)(346002)(39860400002)(451199018)(8936002)(6862004)(5660300002)(8676002)(26005)(6512007)(6506007)(38100700002)(82960400001)(6666004)(186003)(41300700001)(6636002)(86362001)(66946007)(66476007)(66556008)(316002)(4326008)(6486002)(478600001)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VmxvaXJEOTJGV2JFTm1icU1hclpMZTc1bGNXdGdiWFFKYTkxMkUxL1g5UStv?= =?utf-8?B?ODFlMDNmNTJJbTI2OGhYY1JSdEdGWlRVZ3RwL0dMQVRoT1BlWFVvazBFdU81?= =?utf-8?B?Z2J4bm1qMTZzY1ZWVG1xOHFjbUNNOTRrRHNxRE9pd1V3QmFnQjdxSWZjbklw?= =?utf-8?B?N2N5TG9OZ3ZsSnFQb05Qanp0S1ZJbGZKeW1hbEZCN0grN3pYU0p4NHhYdzgz?= =?utf-8?B?a1piQzVjWGs5WG9Cd0ZxNnY4SDVhUCt0eHFWN1g5WUdCNjhjT3BkNjJWZ0Nx?= =?utf-8?B?VEJqaFNueHFkT3EzZjkrU1hMRnpvS3Mvd09rTEVLVTJsd1haMVJ5VVhmRTlu?= =?utf-8?B?NFBlM0FWekUxVWYwRmd3M3pkcUFNWFRmWU5QaEsraUF4czlkMXhLdEVSUlFU?= =?utf-8?B?MGl1K21EOVZGeTdMSVNiYzIxaFFNR01YdFppTWVxNFpTem9QZmhRaDJFal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S-Exchange-CrossTenant-AuthSource: DM6PR11MB2987.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2023 22:34:14.7228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h9XH00aEjFOk1ktUNEAzSUEDxsfw93AJAIyi94hFuakfedJkeGGWSAyoR161e95OKq0mHypGXnnYgy2k1XCaqwLmvjyTB4T+kWr/+CpsGT4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4628 X-OriginatorOrg: intel.com Subject: Re: [Intel-gfx] [PATCH v4 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 Wed, Mar 08, 2023 at 10:08:13AM -0800, Dixit, Ashutosh wrote: >On Tue, 07 Mar 2023 12:16:10 -0800, Umesh Nerlige Ramappa wrote: >> > >Hi Umesh, > >> One or more engines map to a specific OA unit. All reports from these >> engines are captured in the OA buffer managed by this OA unit. >> >> Current i915 OA implementation supports only the OAG unit. OAG primarily >> caters to render engine, so i915 OA uses render as the default engine >> in the OA implementation. Since there are more OA units on newer >> hardware that map to other engines, allow user to pass engine class and >> instance to select and program specific OA units. > >I believe there is another uapi issue to be resolved here: how the engines >are associated with OA units, since from the point of view of the uapi >there are multiple engines and multiple OA units (even if in the actual >implementation at present there is only one OA unit per gt). In the >internal tree we had added oa_unit_id to engine_info for this. So if >multiple engines had the same oa_unit_id, user could pass class:instance of >any of those engines to get oa data from that OA unit (and generally know >how engines are hooked up to OA units (the OA unit topology)). > >So the question is even if we don't implement it as part of this series (or >do we have to?) do we at least need to agree to that uapi which will be >used to associate OA units with engines? It did make more sense for xehpsdv and other platforms where we had multiple OA units per GT and each GT had render and/or compute engines. In those cases, media and compute/render UMDs may have needed to know that topology. For MTL, I don't think that an end user will benefit from the engine<->oa_unit mapping because (1) media and render are separate GTs (2) there is just one OA unit per GT and (3) assuming media and render/compute are separate UMDs, That's also the reason why the corresponding IGT series just uses a static mapping for MTL. If we come across a case where the UMD needs this info OR we are supporting a platform with multiple OA units per tile, we should add the topology. Thanks, Umesh > >Thanks. >-- >Ashutosh