diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-14 14:40:04 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-05 23:47:12 +0100 |
commit | aed5f1dc264e2bc87e8656dd6945e4b1e72ebdbc (patch) | |
tree | 25696ea87a362314555c04d5a3ac56a28da84bf0 /drivers/gpu/drm/i915/i915_dma.c | |
parent | drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS in DVO output code. (diff) | |
download | linux-aed5f1dc264e2bc87e8656dd6945e4b1e72ebdbc.tar.xz linux-aed5f1dc264e2bc87e8656dd6945e4b1e72ebdbc.zip |
drm/i915: Use a single thread workqueue
Our work is serialised so allocating per-cpu workqueues is overkill and
a waste of resources.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 6ade4a651c9e..794ded2394cc 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1416,7 +1416,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) if (ret) goto out_iomapfree; - dev_priv->wq = create_workqueue("i915"); + dev_priv->wq = create_singlethread_workqueue("i915"); if (dev_priv->wq == NULL) { DRM_ERROR("Failed to create our workqueue.\n"); ret = -ENOMEM; |