drm/i915: Extend hangcheck timeout
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Nov 2010 13:36:26 +0000 (13:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Nov 2010 20:19:15 +0000 (20:19 +0000)
... reduce the frequency of checking to further reduce the wakeups and
CPU overhead.

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

index 5afcf2a07cfc29ab1f817ca9423f0ed880ed6c60..eb3f1f756e81806a624da9fc109655e7b419000f 100644 (file)
@@ -315,7 +315,7 @@ typedef struct drm_i915_private {
        int num_pipe;
 
        /* For hangcheck timer */
-#define DRM_I915_HANGCHECK_PERIOD 250 /* in ms */
+#define DRM_I915_HANGCHECK_PERIOD 1500 /* in ms */
        struct timer_list hangcheck_timer;
        int hangcheck_count;
        uint32_t last_acthd;