Skip to content
Commit 498548ec authored by Christopher James Halse Rogers's avatar Christopher James Halse Rogers Committed by Dave Airlie
Browse files

drm: Send pending vblank events before disabling vblank.



This is the least-bad behaviour.  It means that we signal the
vblank event before it actually happens, but since we're disabling
vblanks there's no guarantee that it will *ever* happen otherwise.

This prevents GL applications which use WaitMSC from hanging
indefinitely.

Signed-off-by: default avatarChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent eaa4f5e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment