diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-26 17:49:18 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-25 06:44:36 +1000 |
commit | d82f8e6c802bb1244ce590d3877f7c66a8fb0ff0 (patch) | |
tree | cb7294e91455667978b9f01d4dcffe151f3bdd7e /lib/locking-selftest-softirq.h | |
parent | f17811dfa7f07e3df6d0e3c4ab4af8eb47e8fabc (diff) | |
download | blackbird-op-linux-d82f8e6c802bb1244ce590d3877f7c66a8fb0ff0.tar.gz blackbird-op-linux-d82f8e6c802bb1244ce590d3877f7c66a8fb0ff0.zip |
drm/nouveau: use system_wq instead of dev_priv->wq
With cmwq, there's no reason for nouveau to use a dedicated workqueue.
Drop dev_priv->wq and use system_wq instead. Each work item is sync
flushed when the containing structure is unregistered/destroyed.
Note that this change also makes sure that nv50_gpio_handler is not
freed while the contained work item is still running.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions