[Intel-gfx] [PATCH 2/2] drm/i915: wake up all pageflip waiters

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 17 20:24:45 CET 2012


On Mon, 17 Dec 2012 16:59:00 +0100, 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.

Hmm.

BUG_ON(waitqueue_active()) before joining the waitqueue?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list