Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4351148rwb; Mon, 31 Jul 2023 05:47:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlEhZHcbScUawJTwPl5Uas7J54soApx9DBPOjTTyys8BhHakXjciC2Cqvaw0l6//Cio4sbgL X-Received: by 2002:a17:907:75ef:b0:994:539d:f97f with SMTP id jz15-20020a17090775ef00b00994539df97fmr6474449ejc.37.1690807650099; Mon, 31 Jul 2023 05:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690807650; cv=none; d=google.com; s=arc-20160816; b=mnmUqnk3D7ePkmFt5UTHQaFoJcwhj6kkyNKjceU+LLHSX81nfK7sVfquvg3U74it0D ifhD0mMW4HKX8B+ZywqIf/cq+bRTwAU5mcQlPGjKyHun7f4h4JWSDv27LYkqUsqa2L82 2o7QC3YDEBy60R8HEoUpULL7HZE6HkrMMhg+Mu34+xPJo3sJc42WQ7TS7g2swSwF3Ndf iBgJm8J++gM5sTAaWhSNfvqYEzxRHeR7FvT8EM6Xiis52/lAtZvrNGy7/Y/h1AeR6FXS VPVLIks4Y2MUwW/mHVl81FFaML56y1FO5fcjJu129xJ8VW5AxV6GYH+5HXC1MPdsPZgJ VcLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zyK41b0qEYK+q6khB42jS8qPx+yIbobeW2gL3btlQy4=; fh=ZU9hVMG5SmARZARLLGdjYy7rAqdvoC/10Iuph4076Ag=; b=K3xxKdJpP+qIrNW+FuM76sTilPtvtWKvJ4u60nXH2G4DgAIdCmjcl5lndkNrdxLmxH IpzB0gRVrLcVZof0S9MoJDYUNM4ZWYZLYZ/6awQbpFmeG3KzcWkrsrebp/p2tSHg81IB 6I5Czz5UDmugIHK98KBBMP9LUFYvzoj9W0Nkd9OvUoA5ADS+Ty20wwO6FaIzdGETZ0uT /xmspwjTEgc2qJPbi8xahb/u6TwVqzhuj56A71WZAjfOoL4Qs5wVMJNiabIq+Nu+nKvE dKBVpTnZIiUW87SBzJqnrCSSmqI/JWGLGSr31YPglMcRiHbND2KdmMMs03aVh8N8rSY+ 8WmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dNP7+QrC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb11-20020a170906edcb00b00988a7f7cd11si7115158ejb.515.2023.07.31.05.47.04; Mon, 31 Jul 2023 05:47:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dNP7+QrC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232308AbjGaMF0 (ORCPT + 99 others); Mon, 31 Jul 2023 08:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbjGaMFW (ORCPT ); Mon, 31 Jul 2023 08:05:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B786C171C; Mon, 31 Jul 2023 05:05:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4B3576108B; Mon, 31 Jul 2023 12:04:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FA01C433C8; Mon, 31 Jul 2023 12:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690805098; bh=CxFnYp7q+XxZ7znzGHFxRtOTFd57UjGuXrJBT9Z6jfw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dNP7+QrCm8e46TuickOROLjjoLk92XRMECcE6QClmuWcLojczZGukm8KMESE1qWL8 CYxrXkdWiffoaLzos/RLuhWfIAdUqM/Q1pylPvMfbNH8spCCndcH/XDhXCxRQLggiF vgBrGQHEXumy5TAx6WhEAHo1gT1LXoPY6m/epkfeeFQumPrdgl5SdK3jQGgrHF5mq7 pvD/f2EG7lAQIaTUn5JiXPWse/LTC4ro5PhsIEbt/I/IqH0PTMZa/o3xLuLyeDE+Ts JhrfTd66S/ROXLq2LHi4ag2u/bghGxZltrDXN2c6wo0BCVdmbyzvetd4DsqUafCH0A cW61RjU8PEI9Q== Date: Mon, 31 Jul 2023 14:04:55 +0200 From: Maxime Ripard To: Boris Brezillon Cc: Danilo Krummrich , airlied@gmail.com, daniel@ffwll.ch, tzimmermann@suse.de, corbet@lwn.net, christian.koenig@amd.com, bskeggs@redhat.com, Liam.Howlett@oracle.com, matthew.brost@intel.com, alexdeucher@gmail.com, ogabbay@kernel.org, bagasdotme@gmail.com, willy@infradead.org, jason@jlekstrand.net, donald.robson@imgtec.com, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas =?utf-8?Q?Hellstr=C3=B6m?= , Dave Airlie Subject: Re: [PATCH drm-misc-next v8 01/12] drm: manager to keep track of GPUs VA mappings Message-ID: References: <20230720001443.2380-1-dakr@redhat.com> <20230720001443.2380-2-dakr@redhat.com> <20230728142612.2ecf99ef@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wm7cpxvm7mxqxcv7" Content-Disposition: inline In-Reply-To: <20230728142612.2ecf99ef@collabora.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wm7cpxvm7mxqxcv7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Boris, On Fri, Jul 28, 2023 at 02:26:12PM +0200, Boris Brezillon wrote: > On Fri, 28 Jul 2023 13:31:36 +0200 > Maxime Ripard wrote: >=20 > > Hi Danilo, > >=20 > > On Thu, Jul 20, 2023 at 02:14:22AM +0200, Danilo Krummrich wrote: > > > Add infrastructure to keep track of GPU virtual address (VA) mappings > > > with a decicated VA space manager implementation. > > >=20 > > > New UAPIs, motivated by Vulkan sparse memory bindings graphics drivers > > > start implementing, allow userspace applications to request multiple = and > > > arbitrary GPU VA mappings of buffer objects. The DRM GPU VA manager is > > > intended to serve the following purposes in this context. > > >=20 > > > 1) Provide infrastructure to track GPU VA allocations and mappings, > > > making using an interval tree (RB-tree). > > >=20 > > > 2) Generically connect GPU VA mappings to their backing buffers, in > > > particular DRM GEM objects. > > >=20 > > > 3) Provide a common implementation to perform more complex mapping > > > operations on the GPU VA space. In particular splitting and merging > > > of GPU VA mappings, e.g. for intersecting mapping requests or part= ial > > > unmap requests. > > >=20 > > > Acked-by: Thomas Hellstr=F6m > > > Acked-by: Matthew Brost > > > Reviewed-by: Boris Brezillon > > > Tested-by: Matthew Brost > > > Tested-by: Donald Robson > > > Suggested-by: Dave Airlie > > > Signed-off-by: Danilo Krummrich =20 > >=20 > > For some reason this breaks the drm_exec kunit patches: >=20 > Fix available here [1]. >=20 > [1]https://lore.kernel.org/dri-devel/cbf4ccf9-8131-27a0-332c-6942866340d1= @igalia.com/T/#t Thanks for pointing it out :) Maxime --wm7cpxvm7mxqxcv7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZMejZwAKCRDj7w1vZxhR xaW5AQCv028JEAAnIb/aFhQc1sYoXrIKQLstpLgP6KnY2r99tAD7BvwHotLO3uHq 7wsMukvisTg7tcpMtdYRdRiWIaoh+gs= =nrso -----END PGP SIGNATURE----- --wm7cpxvm7mxqxcv7--