[Mesa-dev] [PATCH v2] platform_android: prevent deadlock in droid_swap_buffers

Emil Velikov emil.l.velikov at gmail.com
Tue Jun 7 11:34:38 UTC 2016


Hi Haixia,

On 2 June 2016 at 20:48, Haixia Shi <hshi at chromium.org> wrote:
> To avoid blocking other EGL calls, release the display mutex before
> we enqueue buffer to android frameworks and re-acquire the mutex
> upon return.
>
> v2: moved lock/unlock inside droid_window_enqueue_buffer().
>
Thanks for re-spinning the patch. Since we had no other input (and/or
objections) I've pushed the patch to master.
If the Android-x86 folk spot any issues I'll make sure to CC you on
their findings. Then again I highly doubt that there'll be (m)any :-)

Regards,
Emil


More information about the mesa-dev mailing list