Re: [PATCH xserver 4/4] dri2: Unblock Clients on Drawable release

2016-02-08 Thread Adam Jackson
On Wed, 2016-02-03 at 16:02 +0200, Ville Syrjälä wrote: > On Wed, Feb 03, 2016 at 09:54:46AM +, Chris Wilson wrote: > > If the Window is destroyed by another client, such as the window > > manager, the original client may be blocked by DRI2 awaiting a vblank > > event. When this happens,

[PATCH xserver 4/4] dri2: Unblock Clients on Drawable release

2016-02-03 Thread Chris Wilson
If the Window is destroyed by another client, such as the window manager, the original client may be blocked by DRI2 awaiting a vblank event. When this happens, DRI2DrawableGone forgets to unblock that client and so the wait never completes. Note Present/xshmfence is also suspectible to this

Re: [PATCH xserver 4/4] dri2: Unblock Clients on Drawable release

2016-02-03 Thread Ville Syrjälä
On Wed, Feb 03, 2016 at 09:54:46AM +, Chris Wilson wrote: > If the Window is destroyed by another client, such as the window > manager, the original client may be blocked by DRI2 awaiting a vblank > event. When this happens, DRI2DrawableGone forgets to unblock that > client and so the wait