]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Adapt workqueue to new alloc_workqueue interface
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Sep 2010 11:46:34 +0000 (12:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Sep 2010 15:04:41 +0000 (16:04 +0100)
commite642abbf303741b245375b2e3f8f00e900d462dc
tree22debd6e2710c3b4c0c6c53b2e886b5b5fe2ef00
parent5ba2aaaaa1a282a71c27f385a743f0d86f3484ca
drm/i915: Adapt workqueue to new alloc_workqueue interface

create_singlethreaded_workqueue() is being phased out for a new
concurrency managed task infrastructure.

Adapt our workqueue constructor to explicitly create a domain that only
allows the execution of a single task at any time. All the tasks are
expected to require the dev->struct_mutex, so would block concurrency of
other tasks if we allow more than a single i915 task to be run at once.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c