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 D33C3C25B47 for ; Fri, 27 Oct 2023 20:28:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 98B1F10EA43; Fri, 27 Oct 2023 20:28:15 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 33DEE10EA43 for ; Fri, 27 Oct 2023 20:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698438493; x=1729974493; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=8sXz77PPm2wU73Tt3z85oS1ZW8NCsoMDXP5TEE6Jy44=; b=iVKN3yYMvoW4OOFM6TJTAD9m02MMfLxSvvtt/ZQ/vkUhFbUh15WcMaSK 9q3uaW2564n49DijT1NfHh9eyl/dXhqDSzHqC5QqUUUIgKzfNPqpBrxwT wG/pISWYV3+C3vZQXovKa3goAJdn1RYEP3RdstpVwKV6MqEhRg3hYX2v9 qVyQZlrL23rD8SorawoNfxF88MfenKGsNzwLK+DLrQa3LrhYGD/cFsWEQ P3C+mV9mQemCZBqQJp4nopHYBHCp/cMktH/8LkvZP4yWuFx2dzDz22GU8 n5/ROngvmsxlG9nQaeGzU6q9WYeSQHYQm5s9+ynRKyZlAa5vMl4etpxIF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="672791" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="672791" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 13:28:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="759698251" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="759698251" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.209.34.111]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 13:28:12 -0700 Date: Fri, 27 Oct 2023 13:28:12 -0700 Message-ID: <87o7gjdd43.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Lionel Landwerlin In-Reply-To: <9d82cbe1-1dc3-4c44-9acb-58af4740c362@intel.com> References: <20230919161049.2307855-19-ashutosh.dixit@intel.com> <9d82cbe1-1dc3-4c44-9acb-58af4740c362@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] [18/21] drm/xe/uapi: More OA uapi fixes/additions 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 Fri, 20 Oct 2023 00:28:01 -0700, Lionel Landwerlin wrote: > > > struct drm_xe_oa_open_param { > > + /** @extensions: Pointer to the first extension struct, if any */ > > + __u64 extensions; > > + > > + /** > > + * @config_syncobj: (Output) handle to configuration syncobj > > + * > > + * Handle to a syncobj which the kernel will signal after stream > > + * configuration or re-configuration is complete (after return from > > + * the ioctl). This handle can be provided as a dependency to the > > + * next XE exec ioctl. > > + */ > > + __u32 config_syncobj; > > So you're adding this, but there is no implementation for it? Not yet, but there will be. Actually the plan is to do this: struct drm_xe_oa_open_param { /** @extensions: Pointer to the first extension struct, if any */ __u64 extensions; /** @num_syncs: Amount of struct drm_xe_sync in array. */ __u32 num_syncs; /** @syncs: Pointer to struct drm_xe_sync array. */ __u64 syncs; Which is exactly the same as what we see in drm_xe_vm_bind or drm_xe_exec. So the plan is to make perf_open behave exactly like an xe_exec which can be pipelined with other operations.