[PATCH 36/36] drm/i915: wake up all pageflip waiters
Daniel Vetter
daniel.vetter at ffwll.ch
Thu Jan 10 12:50:07 PST 2013
On Thu, Jan 10, 2013 at 9:48 PM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Otherwise it seems like we can get stuck with concurrent waiters.
> Right now this /shouldn't/ be a problem, since all pending pageflip
> waiters are serialized by the one mode_config.mutex, so there's at
> most on waiter. But better paranoid than sorry, since this is tricky
> code.
>
> v2: WARN_ON(waitqueue_active) before waiting, as suggested by Chris
> Wilson.
>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Oops, this one is for i915 only, rather unrelated and merged already
anyway. Please disregard.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the dri-devel
mailing list