[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <r7gbbrkn4hjyjyjgapf7jnyswbuvks4ng7uuy7gibsra2xpvzf@iot4rgafaqjn>
Date: Mon, 31 Jul 2023 14:04:55 +0200
From: Maxime Ripard <mripard@...nel.org>
To: Boris Brezillon <boris.brezillon@...labora.com>
Cc: Danilo Krummrich <dakr@...hat.com>, airlied@...il.com,
daniel@...ll.ch, tzimmermann@...e.de, corbet@....net,
christian.koenig@....com, bskeggs@...hat.com,
Liam.Howlett@...cle.com, matthew.brost@...el.com,
alexdeucher@...il.com, ogabbay@...nel.org, bagasdotme@...il.com,
willy@...radead.org, jason@...kstrand.net,
donald.robson@...tec.com, dri-devel@...ts.freedesktop.org,
nouveau@...ts.freedesktop.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
Thomas Hellström
<thomas.hellstrom@...ux.intel.com>,
Dave Airlie <airlied@...hat.com>
Subject: Re: [PATCH drm-misc-next v8 01/12] drm: manager to keep track of
GPUs VA mappings
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 <mripard@...nel.org> wrote:
>
> > Hi Danilo,
> >
> > 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.
> > >
> > > 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.
> > >
> > > 1) Provide infrastructure to track GPU VA allocations and mappings,
> > > making using an interval tree (RB-tree).
> > >
> > > 2) Generically connect GPU VA mappings to their backing buffers, in
> > > particular DRM GEM objects.
> > >
> > > 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 partial
> > > unmap requests.
> > >
> > > Acked-by: Thomas Hellström <thomas.hellstrom@...ux.intel.com>
> > > Acked-by: Matthew Brost <matthew.brost@...el.com>
> > > Reviewed-by: Boris Brezillon <boris.brezillon@...labora.com>
> > > Tested-by: Matthew Brost <matthew.brost@...el.com>
> > > Tested-by: Donald Robson <donald.robson@...tec.com>
> > > Suggested-by: Dave Airlie <airlied@...hat.com>
> > > Signed-off-by: Danilo Krummrich <dakr@...hat.com>
> >
> > For some reason this breaks the drm_exec kunit patches:
>
> Fix available here [1].
>
> [1]https://lore.kernel.org/dri-devel/cbf4ccf9-8131-27a0-332c-6942866340d1@igalia.com/T/#t
Thanks for pointing it out :)
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists