[PATCH v2 5/6] drm/virtio: drop fencing in virtio_gpu_resource_create_ioctl

Noralf Trønnes noralf at tronnes.org
Thu Jan 31 10:50:25 UTC 2019



Den 30.01.2019 10.43, skrev Gerd Hoffmann:
> There is no need to wait for completion here.
> 
> The host will process commands in submit order, so commands can
> reference the new resource just fine even when queued up before
> completion.
> 
> On the guest side there is no need to wait for completion too.  Which
> btw is different from resource destroy, where we have to make sure the
> host has seen the destroy and thus doesn't use it any more before
> releasing the pages backing the resource.
> 
> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
> ---

Acked-by: Noralf Trønnes <noralf at tronnes.org>


More information about the dri-devel mailing list