On Wed, 14 Aug 2019 at 20:14, Gerd Hoffmann kraxel@redhat.com wrote:
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@redhat.com
Acked-by: Ben Skeggs bskeggs@redhat.com
cheers, Gerd
Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau