From: Chris Wilson Date: Fri, 5 Oct 2012 16:02:56 +0000 (+0100) Subject: drm/i915: Align the hangcheck wakeup to the nearest second X-Git-Tag: v3.8-rc1~82^2~192^2~204 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cecc21fea98cd18419e26a46e4e8123f55fead91;p=pandora-kernel.git drm/i915: Align the hangcheck wakeup to the nearest second round_jiffies() aligns the wakeup time to the nearest second in order to batch wakeups and reduce system load, which is useful for unimportant coarse timers like our hangcheck. v2: round_jiffies_relative() returns the relative jiffie value, whereas we need the absolute value for the timer. Suggested-by: Arjan van de Ven Signed-off-by: Chris Wilson Cc: Arjan van de Ven Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed