[Intel-xe] [PATCH v4 3/9] maple_tree: Export mas_preallocate

Matthew Brost matthew.brost at intel.com
Fri Jul 7 05:45:42 UTC 2023


On Thu, Jul 06, 2023 at 07:51:26PM +0200, Thomas Hellström wrote:
> 
> On 6/30/23 19:57, Matthew Brost wrote:
> > The DRM GPUVA implementation needs this function.
> > 
> > Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> 
> It looks like DRM GPUVA has moved to the interval tree, so this is no longer
> needed?

It looks like it has... Let me pull in that version of GPUVA and test this.

Matt

> 
> /Thomas
> 
> 
> > ---
> >   lib/maple_tree.c | 1 +
> >   1 file changed, 1 insertion(+)
> > 
> > diff --git a/lib/maple_tree.c b/lib/maple_tree.c
> > index 1281a40d5735..4a6ecdb12a92 100644
> > --- a/lib/maple_tree.c
> > +++ b/lib/maple_tree.c
> > @@ -5815,6 +5815,7 @@ int mas_preallocate(struct ma_state *mas, gfp_t gfp)
> >   	mas_reset(mas);
> >   	return ret;
> >   }
> > +EXPORT_SYMBOL_GPL(mas_preallocate);
> >   /*
> >    * mas_destroy() - destroy a maple state.


More information about the Intel-xe mailing list