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

Gurchetan Singh gurchetansingh at google.com
Mon May 15 22:59:24 UTC 2017


Ping

On Mon, May 8, 2017 at 3:29 PM, Gurchetan Singh <gurchetansingh at chromium.org
> wrote:

> 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/20170515/ff266300/attachment.html>


More information about the mesa-dev mailing list