Re: [Intel-gfx] [PATCH v6 08/17] drm/ttm: use gem vma_node

From: Gerd Hoffmann
Date: Wed Aug 14 2019 - 06:14:13 EST


Hi,

> > Changing the order doesn't look hard. Patch attached (untested, have no
> > test hardware). But maybe I missed some detail ...
>
> I came up with something very similar by splitting up nouveau_bo_new()
> into allocation and initialization steps, so that when necessary the GEM
> object can be initialized in between. I think that's slightly more
> flexible and easier to understand than a boolean flag.

Yes, that should work too.

Acked-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>

cheers,
Gerd