]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add msecs_to_jiffies_timeout to guarantee minimum duration
authorImre Deak <imre.deak@intel.com>
Tue, 21 May 2013 17:03:17 +0000 (20:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 May 2013 11:51:15 +0000 (13:51 +0200)
commitd968f7a60a9285b4230bff69e05d3478f505d45c
treec7a0f7bbf5d185d7d92d56abe6df72c26756b5d0
parent877b103b0951d1aaa04a35aadaff3f8737c0e2ff
drm/i915: add msecs_to_jiffies_timeout to guarantee minimum duration

We need this to avoid premature timeouts whenever scheduling a timeout
based on the current jiffies value. For an explanation see [1].
The following patches will take the helper into use.

Once the more generic solution proposed in the thread at [1] is accepted
this patch can be reverted while keeping the follow-up patches.

[1] http://marc.info/?l=linux-kernel&m=136854294730957&w=2

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h