summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-12 13:36:26 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-23 20:19:15 +0000
commit576ae4b8e46b4cb9d5390f4348c265329793d9bf (patch)
treed07339f190de621041e0cffa0fc3023edb77451e /drivers/gpu/drm/i915/i915_drv.h
parentdddbc0e5257572079602654258adc8d117e168ad (diff)
downloadlwn-576ae4b8e46b4cb9d5390f4348c265329793d9bf.tar.gz
lwn-576ae4b8e46b4cb9d5390f4348c265329793d9bf.zip
drm/i915: Extend hangcheck timeout
... reduce the frequency of checking to further reduce the wakeups and CPU overhead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 5afcf2a07cfc..eb3f1f756e81 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -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;