Re: [PATCH v2 3/5] drm/virtio: add in-fences support for explicit synchronization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 16, 2018 at 9:12 AM, Gustavo Padovan <gustavo@xxxxxxxxxxx> wrote:
> From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Need to clean-up the squashed commit msg.

Rob
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux