diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-12 08:36:26 -0500 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 15:19:15 -0500 |
commit | 576ae4b8e46b4cb9d5390f4348c265329793d9bf (patch) | |
tree | d07339f190de621041e0cffa0fc3023edb77451e /drivers/gpu | |
parent | dddbc0e5257572079602654258adc8d117e168ad (diff) |
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')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
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 { | |||
315 | int num_pipe; | 315 | int num_pipe; |
316 | 316 | ||
317 | /* For hangcheck timer */ | 317 | /* For hangcheck timer */ |
318 | #define DRM_I915_HANGCHECK_PERIOD 250 /* in ms */ | 318 | #define DRM_I915_HANGCHECK_PERIOD 1500 /* in ms */ |
319 | struct timer_list hangcheck_timer; | 319 | struct timer_list hangcheck_timer; |
320 | int hangcheck_count; | 320 | int hangcheck_count; |
321 | uint32_t last_acthd; | 321 | uint32_t last_acthd; |