summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson2010-11-12 14:36:26 +0100
committerChris Wilson2010-11-23 21:19:15 +0100
commit576ae4b8e46b4cb9d5390f4348c265329793d9bf (patch)
treed07339f190de621041e0cffa0fc3023edb77451e /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: Remove a defunct BUG_ON (diff)
downloadkernel-qcow2-linux-576ae4b8e46b4cb9d5390f4348c265329793d9bf.tar.gz
kernel-qcow2-linux-576ae4b8e46b4cb9d5390f4348c265329793d9bf.tar.xz
kernel-qcow2-linux-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;