commit | 498548ec69c6897fe4376b2ca90758762fa0b817 | [log] [tgz] |
---|---|---|
author | Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> | Wed Apr 27 16:10:57 2011 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Wed May 04 10:11:55 2011 +1000 |
tree | 9e7fa6f5d7e58ab2acb688c7a9e4653856cf4e49 | |
parent | eaa4f5e1d0b816291a59a47917e569c0384f2b6f [diff] |
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: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Dave Airlie <airlied@redhat.com>