summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_fbcon.c
diff options
context:
space:
mode:
authorImre Deak2013-05-21 19:03:19 +0200
committerDaniel Vetter2013-05-22 13:51:23 +0200
commite054cc3937a4a58e77870d4c922a7b21824b610a (patch)
tree69968fb3dccc87c4879b9cadd5fd6b2efd909733 /drivers/gpu/drm/nouveau/nv50_fbcon.c
parentdrm/i915: use msecs_to_jiffies_timeout instead of open coding the same (diff)
downloadkernel-qcow2-linux-e054cc3937a4a58e77870d4c922a7b21824b610a.tar.gz
kernel-qcow2-linux-e054cc3937a4a58e77870d4c922a7b21824b610a.tar.xz
kernel-qcow2-linux-e054cc3937a4a58e77870d4c922a7b21824b610a.zip
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 <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_fbcon.c')
0 files changed, 0 insertions, 0 deletions