diff options
author | Adam Jackson <ajax@redhat.com> | 2016-02-10 11:13:04 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-02-11 13:58:13 -0500 |
commit | eddf848c44349c7ebc7da9957bffb3630f3faaa9 (patch) | |
tree | 767ee5d52a15d1592e9e2f73c638d7ec0115254f /randr | |
parent | b3e9c534e2b0dc2c9acd2fe9b942e1fc5227339b (diff) |
dri2: Use the work queue to manage client sleeps
In commit e43abdce964f5ed9689cf908af8c305b39a5dd36
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>
Diffstat (limited to 'randr')
0 files changed, 0 insertions, 0 deletions