commit | 300387c0b57d75e5218e2881d6ad2720657a8bcf | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sun Sep 05 20:25:43 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Sep 06 23:09:51 2010 +0100 |
tree | b176b0a28513678b6f808737af42415824b96d8d | |
parent | 4f233eff6f32745f8894eb513bc59851213c7833 [diff] |
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 <chris@chris-wilson.co.uk> Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com> 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 <jbarnes@virtuousgeek.org>