[Mesa-dev] [PATCH] st/dri: Add fence extension to SW path
Emil Velikov
emil.l.velikov at gmail.com
Sat May 6 00:54:17 UTC 2017
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
More information about the mesa-dev
mailing list