xserver/hw/xfree86/dri2
Adam Jackson eddf848c44 dri2: Use the work queue to manage client sleeps
In  commit e43abdce96
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Wed Feb 3 09:54:46 2016 +0000

        dri2: Unblock Clients on Drawable release

we try to wake up any blocked clients at drawable destruction. But by
the time we get there, CloseDownConnection has already torn down state
that AttendClient wants to modify.

Using ClientSleep instead of IgnoreClient puts a wakeup function on a
workqueue, and the queue will be cleared for us in CloseDownClient
before (non-neverretain) resource teardown.

Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-02-11 13:58:13 -05:00
..
pci_ids dri2: Sync i915_pci_ids.h and i965_pci_ids.h from mesa 2016-01-27 14:03:34 -05:00
Makefile.am dri2: Distribute new pci_ids headers 2014-10-28 21:30:23 -07:00
dri2.c dri2: Use the work queue to manage client sleeps 2016-02-11 13:58:13 -05:00
dri2.h dri2: Add DRI2CreateDrawable2. 2012-07-12 15:08:37 -07:00
dri2ext.c dri2: better checks for integer overflow in GetBuffers* 2015-09-24 13:47:01 -04:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00