[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eff1a43e-a3ed-3c12-229c-61c450b31e86@tronnes.org>
Date: Thu, 31 Jan 2019 11:53:47 +0100
From: Noralf Trønnes <noralf@...nnes.org>
To: Gerd Hoffmann <kraxel@...hat.com>, dri-devel@...ts.freedesktop.org
Cc: David Airlie <airlied@...ux.ie>,
open list <linux-kernel@...r.kernel.org>,
"open list:VIRTIO GPU DRIVER"
<virtualization@...ts.linux-foundation.org>
Subject: Re: [PATCH v2 6/6] drm/virtio: move virtio_gpu_cmd_create_resource
call into virtio_gpu_object_create
Den 30.01.2019 10.43, skrev Gerd Hoffmann:
> Specifically call virtio_gpu_object_create() before ttm_bo_init(), so
> the object is already created when ttm calls the
> virtio_gpu_ttm_tt_bind() callback (which in turn calls
> virtio_gpu_object_attach()).
>
> With that in place virtio_gpu_object_attach() will never be called with
> an object which is not yet created, so the extra
> virtio_gpu_object_attach() calls done after
> virtio_gpu_cmd_create_resource() is not needed any more.
>
> Signed-off-by: Gerd Hoffmann <kraxel@...hat.com>
> ---
Acked-by: Noralf Trønnes <noralf@...nnes.org>
Powered by blists - more mailing lists