drm/i915: Correct a comment about the use of the workqueue.
authorEric Anholt <eric@anholt.net>
Thu, 18 Nov 2010 01:31:12 +0000 (09:31 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Nov 2010 08:58:01 +0000 (08:58 +0000)
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>
drivers/gpu/drm/i915/i915_dma.c

index 4cd04917868d89ced02bc6a2a1f06912f9f0f9e9..cf4e06a9417af864244aa74bfcb1bfbdce9a634b 100644 (file)
@@ -1962,7 +1962,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
         * bo.
         *
         * It is also used for periodic low-priority events, such as
-        * idle-timers and hangcheck.
+        * idle-timers and recording error state.
         *
         * All tasks on the workqueue are expected to acquire the dev mutex
         * so there is no point in running more than one instance of the