From patchwork Fri Dec 1 04:21:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13475338 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 EC3F5C4167B for ; Fri, 1 Dec 2023 04:23:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C672110E7AE; Fri, 1 Dec 2023 04:23:49 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id B30C110E7B3; Fri, 1 Dec 2023 04:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701404541; x=1732940541; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=CDslKXLTkwynCqRVQYBF49tTA0GUN9XOqeBdPe31Sek=; b=eyK7Fym1hZmAkvVfTKZJ/LmI2vUH/oFOKSkMuw64J0iWSoduF3xX8gcI BV+4wVqlAv2brqNXlL2TzVRX016TabpAs+5tNfzSfW41BaQlUwJLXbNPR ON1myRgM6JfIFoVdXGOI79suJGdpiX7OizDtrtDGy0vz31iOrX2AZ79hx rQrCJDK+0A4t5fTZOsTao83KKluvphm+9Dr1yoegNKTUxQZrzcg6feaN6 wDiy0J3kk9T2dD/fpv2OpjaEU3Ld5w+zLtco8kxX7hp0u9J79Rmfq1M82 Qy1nbyQ/XhIRac3pbAz9h6bgQWsCMVj+aE2BVOMNhfVqtb6t4V8vwx4ir w==; X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="318331" X-IronPort-AV: E=Sophos;i="6.04,240,1695711600"; d="scan'208";a="318331" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 20:22:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="798564719" X-IronPort-AV: E=Sophos;i="6.04,240,1695711600"; d="scan'208";a="798564719" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 30 Nov 2023 20:22:19 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 30 Nov 2023 20:22:18 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Thu, 30 Nov 2023 20:22:18 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Thu, 30 Nov 2023 20:22:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HFizpW3KgzP8O8VPASkKFgbCG2qzsvIxx06pXS2Xgcu7AcVwPxeFej4IBKRu+X3jQJVfkWdkoAyNNhiqQvkLKn3LbpukVomAEOi3GlpVFXra75itJa17m+7KupjPwocGf0Nsm4ePIMNslcr3xs3yLLgY/caWFZnXU6w5kqn619NYyDn5/YUHD+12gFjl9ppNyMFoZJq7HYG+JB8aoQc3sOX6i9SAS+TU/kru0jl+y3DGJ3dKELG2AhTH2u0MoYxeY7cOpB+QcewPZU29msSnCMGabMMWEte3gm1HqAHqhjHZ37s7whgCM37IV7xCEyECJwvTWLDOqgLAqgLHfUR7KQ== 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=8LvlNL848R4uJBpkQhLauxoqoUrlmfyDykq3kUCBBSc=; b=OYqwm4yrHZxSMm4Jhd8AcIo6nCnxBUOuvMRDW8ERwBdq2r02VoMYdJWsP22fD557rIuaEQHO/YbNXPvM2UadKLEqAsioxeNbKStONA0jC7XnGZ136KvXmBYibHRJk9DoZh6vglmO0t9IT1etO12JdTHCREuekk+DpGPnW8eCHplQs1rE+2X9QaHtrRUteaJ2VIomGqBlMU1IA+ykZ0yqaD4yH8R3Iw9ZTpCzpFf32GBzqUl6iDS0BrZrrllCww84pKwph3BQwQ8b0HLmxZ5DSGECnRwKPDysb8jY04lRhIDf619wk7dJHrABEEXt6jXt08D7OA6+gx3dwBzdvJ00rA== 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 MN0PR11MB6059.namprd11.prod.outlook.com (2603:10b6:208:377::9) by MW3PR11MB4666.namprd11.prod.outlook.com (2603:10b6:303:56::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.24; Fri, 1 Dec 2023 04:22:17 +0000 Received: from MN0PR11MB6059.namprd11.prod.outlook.com ([fe80::ada2:f954:a3a5:6179]) by MN0PR11MB6059.namprd11.prod.outlook.com ([fe80::ada2:f954:a3a5:6179%5]) with mapi id 15.20.7046.023; Fri, 1 Dec 2023 04:22:16 +0000 From: Rodrigo Vivi To: , , , , , , , , , Subject: [PATCH 3/5] drm/doc/rfc: Move Xe 'ASYNC VM_BIND' to the 'completed' section Date: Thu, 30 Nov 2023 23:21:53 -0500 Message-ID: <20231201042158.80009-4-rodrigo.vivi@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231201042158.80009-1-rodrigo.vivi@intel.com> References: <20231201042158.80009-1-rodrigo.vivi@intel.com> X-ClientProxiedBy: SJ0PR03CA0124.namprd03.prod.outlook.com (2603:10b6:a03:33c::9) To MN0PR11MB6059.namprd11.prod.outlook.com (2603:10b6:208:377::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR11MB6059:EE_|MW3PR11MB4666:EE_ X-MS-Office365-Filtering-Correlation-Id: ac44ba5a-deb9-4f07-4fc0-08dbf2251a04 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y0P3msLC9SN7alt0/1SGmU02izncYLAj5/QqdHWQEvqBH/xxBBc6KpamM3ixnsnZDiA/3ND4Bp16f8HeOb/cjpEXPJzTN5a+irNkh6PAvqzuB6pSkQ49/RwkOsVcv+EoH8xEc8GVVdBs7RgbsAdft50+OIIkEvB6XwJ9bHN5GF+8mNO/jqGKjRwLlcpfLUcItTmSTlcPAgsPjlR6ESPkPPSozQZ25cjrsXCKt0uwt6uqyVllCLH6VEAbCZxfGh4i2gi4Ut8t0RfxTOQJWuVLAr6+APY5PFWRJOMq2GOtcaRjXW+cmeHOg3h+Ij3yEUZG3Pvi4Vxisqyoe9F7psX9VjrC7kNiEUB+YFSN4i8CaoQTFjz2ErkOQSIhpTDIpwRcaelUBkpwaRxtousKZYRmakTxOPAI3i6s8H9GBBAQeMMhogRpP9XpxR/bJXsDFbPSiLWzFNczGnQVoJ5XQ/NgoxHq4J9OmMRMmY/iSZiVtt4NnRwOsEFgxIBWn7Yzn5gSAre06WgtCs9i3qA5JqMYSmKrFFse1y48f2uElPvIAIqQ0qrc+fC8IdORnHXz+0AkvCPLziJcvBiEa9NyjyyGPi+NJXwKqs37gnv5TPsPgEE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR11MB6059.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(346002)(376002)(366004)(396003)(136003)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(26005)(6512007)(6506007)(1076003)(107886003)(44832011)(6666004)(2616005)(83380400001)(478600001)(4326008)(41300700001)(8676002)(8936002)(7416002)(5660300002)(2906002)(6486002)(316002)(66556008)(66476007)(66946007)(36756003)(38100700002)(82960400001)(86362001)(66899024)(921008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?OpGEqG5wt+Iy1UUX4kAExKVIWmzN?= =?utf-8?q?exx1a1L21DDV+WcDX1sOW2CCagw2e+FBtFHfln+Fmf2MBoe0J52oAiSXRGl+Ic/9+?= =?utf-8?q?zQLwRu7WukT04tNPB9tMRZdCv89KG0Y4+FOQcGcDzosdl186FSmKCa7IJg83UZUy0?= =?utf-8?q?fIPrXPL8KBbj61ejj3fWpYzA+qPRcpMsgTkW3U9Y1D11/OjR7lX+S0bB+oNKSv8XL?= =?utf-8?q?MDXKilsemh79jVzh/DMfww1Q2uNUdEeUmf6dJqcpGHU7V7Ur+5bFY16G9Axc1wcxO?= =?utf-8?q?jnbiX/GW3Y4dx4hE83wsXuAZWM/niHwoLIWFRrdS6Jg+E6a0rct+pxFCnX2D+iviP?= =?utf-8?q?Tp9ez04Iw0B76J6zMtTijmoNIz9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PMjQS1KCAzMsB4z5C92lMVowL3I9GPDrj?= =?utf-8?q?osh71rjkXW5pdlQW7SFf2+O6nURz08/5dqpKWKrhc4l0e6jP8K1gLucA8oxwkvdDv?= =?utf-8?q?EBsqn2TJr/NFEfp8+ld5bChao/tyvPcxH4FAPAZRYcFXNS+vuAazzjHkI4JnSP3yZ?= =?utf-8?q?SZHL/XFoG9DYt/KCeIWOLmCXnQy8ouUlCygcJJnBnrtItty85Kv+X60jMuS/CbK5l?= =?utf-8?q?VNV4Twyzbvpa11naJojS4jRzpMj/nqCEBB6rXYx8EA6dzOnDjOF3MYmuoQvBTnT6h?= =?utf-8?q?40U9XLuHZty6SmlaOw/tqRzZ/wYTAg5IBQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: ac44ba5a-deb9-4f07-4fc0-08dbf2251a04 X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB6059.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2023 04:22:16.9204 (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: 96aJNt02M6unbyXLu7wzGgcMFep8V+6hMzcZRJUDtDNgBZ9uv4BMLHn7g9WN/tuYL4SeRUivaFrTvnvtOHiRJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4666 X-OriginatorOrg: intel.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rodrigo Vivi Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" As already indicated in this block, the consensus was already reached out and documented as: The ASYNC VM_BIND document However this was item was not moved to the completed section. Let's move and clean up the WIP block. Signed-off-by: Rodrigo Vivi --- Documentation/gpu/rfc/xe.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Documentation/gpu/rfc/xe.rst b/Documentation/gpu/rfc/xe.rst index 9f3afab6c06a..87dd620aea59 100644 --- a/Documentation/gpu/rfc/xe.rst +++ b/Documentation/gpu/rfc/xe.rst @@ -70,18 +70,6 @@ When the time comes for Xe, the protection will be lifted on Xe and kept in i915 Xe – Pre-Merge Goals - Work-in-Progress ======================================= -ASYNC VM_BIND -------------- -Although having a common DRM level IOCTL for VM_BIND is not a requirement to get -Xe merged, it is mandatory to have a consensus with other drivers and Mesa. -It needs to be clear how to handle async VM_BIND and interactions with userspace -memory fences. Ideally with helper support so people don't get it wrong in all -possible ways. - -As a key measurable result, the benefits of ASYNC VM_BIND and a discussion of -various flavors, error handling and sample API suggestions are documented in -:doc:`The ASYNC VM_BIND document `. - Userptr integration and vm_bind ------------------------------- Different drivers implement different ways of dealing with execution of userptr. @@ -151,6 +139,18 @@ Xe – uAPI high level overview Xe – Pre-Merge Goals - Completed ================================ +ASYNC VM_BIND +------------- +Although having a common DRM level IOCTL for VM_BIND is not a requirement to get +Xe merged, it is mandatory to have a consensus with other drivers and Mesa. +It needs to be clear how to handle async VM_BIND and interactions with userspace +memory fences. Ideally with helper support so people don't get it wrong in all +possible ways. + +As a key measurable result, the benefits of ASYNC VM_BIND and a discussion of +various flavors, error handling and sample API suggestions are documented in +:doc:`The ASYNC VM_BIND document `. + Drm_scheduler ------------- Xe primarily uses Firmware based scheduling (GuC FW). However, it will use