diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-07 20:58:50 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-09 07:30:49 +0000 |
| commit | d151e9ce9876a134d9c46e191d920292d47d302e (patch) | |
| tree | 0629a0c77e4096bb3feb3035d28232aa0c2d09ed /scripts/gdb/linux/utils.py | |
| parent | 42953b3c517af6fe64e45e6491921f0c7c90511b (diff) | |
drm/i915/userptr: Only flush the workqueue if required
To avoid waiting for work from other invalidate-range threads where
not required, only wait on the userptr cancel workqueue if we have added
some work to it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170307205851.32578-2-chris@chris-wilson.co.uk
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
