aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-11-17 20:31:12 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-22 03:58:01 -0500
commitdf9c2042858e85ab46731c13e708a5b0799db848 (patch)
tree46b15085f2aeeecd50f7f491bfedd29dccfb8cef /drivers/gpu/drm/i915/i915_dma.c
parenta940a75a9a4b0f2523fd6d944d1c8099e7da9bbb (diff)
drm/i915: Correct a comment about the use of the workqueue.
It isn't used for the hangcheck, which does its work right from the timer trigger, but hangcheck can lead to error state recording, which is run off of the workqueue. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c2
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 4cd04917868..cf4e06a9417 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1962,7 +1962,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
1962 * bo. 1962 * bo.
1963 * 1963 *
1964 * It is also used for periodic low-priority events, such as 1964 * It is also used for periodic low-priority events, such as
1965 * idle-timers and hangcheck. 1965 * idle-timers and recording error state.
1966 * 1966 *
1967 * All tasks on the workqueue are expected to acquire the dev mutex 1967 * All tasks on the workqueue are expected to acquire the dev mutex
1968 * so there is no point in running more than one instance of the 1968 * so there is no point in running more than one instance of the