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

Adam Jackson ajax at nwnk.net
Tue Feb 9 02:48:22 UTC 2016


On Wed, 2016-02-03 at 16:02 +0200, Ville Syrjälä wrote:
> On Wed, Feb 03, 2016 at 09:54:46AM +0000, 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 never completes.
> > 
> > Note Present/xshmfence is also suspectible to this race.
> > 
> > Testcase: dri2-race/manager
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

To ssh://git.freedesktop.org/git/xorg/xserver
   a722d61..e43abdc  master -> master

- ajax


More information about the xorg-devel mailing list