From: Christopher James Halse Rogers Date: Wed, 27 Apr 2011 06:10:57 +0000 (+1000) Subject: drm: Send pending vblank events before disabling vblank. X-Git-Tag: v2.6.39-rc6~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=498548ec69c6897fe4376b2ca90758762fa0b817;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed