commit | 12fec62aea6ea67512f0ddabf960c9270b6d1b05 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Sep 20 21:05:30 2018 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Sep 21 10:31:12 2018 +0100 |
tree | 4e98cf230af14596be6f0d7900100849c35abb81 | |
parent | 1664691a659f6115bae26e6256166e08b50def4e [diff] |
drm: Fix syncobj handing of schedule() returning 0 After schedule() returns 0, we must do one last check of COND to determine the reason for the wakeup with 0 jiffies remaining before reporting the timeout -- otherwise we may lose the signal due to scheduler delays. References: https://bugs.freedesktop.org/show_bug.cgi?id=106690 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180920200530.2836-2-chris@chris-wilson.co.uk Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>