[PATCH v2 3/5] drm/virtio: add in-fences support for explicit synchronization
Rob Herring
robh at kernel.org
Fri Feb 16 17:18:24 UTC 2018
On Fri, Feb 16, 2018 at 9:12 AM, Gustavo Padovan <gustavo at padovan.org> wrote:
> From: Gustavo Padovan <gustavo.padovan at collabora.com>
>
> When the execbuf call receives an in-fence it will get the dma_fence
> related to that fence fd. If that fence is from a foreign context we wait
> on it before submitting the draw call.
>
> v2: - incorporate fix for context check from Rob Herring
>
> Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
>
> virtio-gpu: fix context check
>
> We may have a foreign context from sw_sync, so we need to wait in that case.
>
> If there's a match, returning an error doesn't seem right either.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
Need to clean-up the squashed commit msg.
Rob
More information about the dri-devel
mailing list