[Mesa-dev] [PATCH] st/dri: Add fence extension to SW path

Gurchetan Singh gurchetansingh at chromium.org
Mon May 8 22:29:07 UTC 2017


Chrome is going to use EGLSync a lot to synchronize between EGL/KMS (along
with the flush image external extension).  VM's are used for testing, so
adding this path would be helpful.

On Fri, May 5, 2017 at 5:54 PM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:

> Hi Gurchetan,
>
> On 5 May 2017 at 20:56, Gurchetan Singh <gurchetansingh at chromium.org>
> wrote:
> > From: Gurchetan Singh <gurchetansingh at chromium.org>
> >
> > Use the same fence implementation for drisw.c as dri2.c by
> > making dri2FenceExtension an external variable. This is desirable
> > for synchronization in virtual machines.
>
> Out of curiosity: can you share what virtual machines are you thinking of?
>
> I cannot spot anything in the dri2_fence code that would require an
> actual non-SW driver.
> On that grounds we're fine, but drisw.c simply cannot depend on dri2.c
> - please flesh the relevant code to another file.
>
> I'm leaning towards dri_flush.{c,h} although other suggestions are welcome.
>
> Thanks
> Emil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170508/96547ec4/attachment.html>


More information about the mesa-dev mailing list