From: Chris Wilson Date: Sun, 5 Sep 2010 19:25:43 +0000 (+0100) Subject: drm/i915: Clear the vblank status bit before polling for the next vblank X-Git-Tag: v2.6.36-rc4~94^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=300387c0b57d75e5218e2881d6ad2720657a8bcf;p=pandora-kernel.git drm/i915: Clear the vblank status bit before polling for the next vblank The vblank status bit is a sticky bit that must be cleared with a write of '1' prior to polling for the next vblank. Signed-off-by: Chris Wilson Tested-by: Sitsofe Wheeler jbarnes: I'd still rather see a lock, but I think you're right that we don't generally wait in code that needs not to miss an interrupt. Reviewed-by: Jesse Barnes --- Reading git-diff-tree failed