From: Imre Deak Date: Tue, 21 May 2013 17:03:19 +0000 (+0300) Subject: drm/i915: avoid premature timeouts in __wait_seqno() X-Git-Tag: v3.10-rc4~22^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e054cc3937a4a58e77870d4c922a7b21824b610a;p=pandora-kernel.git drm/i915: avoid premature timeouts in __wait_seqno() At the moment wait_event_timeout/wait_event_interruptible_timeout may time out 1 jiffy too early, as the calculated expiry time is 1 less than needed. Besides timing out too early this also means that the calculation of the remaining time will be incorrect and we will pass a non-zero remaining time to user space in case of a time out. This is one reason for the following bugzilla report: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64270 Signed-off-by: Imre Deak Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed