drm/i915: Align the hangcheck wakeup to the nearest second
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_drv.h
index af5ceb46e7bdd725b08f8ca383ecde638a055731..7f05736c6d8a7b167a638d30ba5a04c05f836b86 100644 (file)
@@ -452,6 +452,7 @@ typedef struct drm_i915_private {
 
        /* For hangcheck timer */
 #define DRM_I915_HANGCHECK_PERIOD 1500 /* in ms */
+#define DRM_I915_HANGCHECK_JIFFIES msecs_to_jiffies(DRM_I915_HANGCHECK_PERIOD)
        struct timer_list hangcheck_timer;
        int hangcheck_count;
        uint32_t last_acthd[I915_NUM_RINGS];
This page took 0.028359 seconds and 5 git commands to generate.