diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-05 20:25:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-06 23:09:51 +0100 |
commit | 300387c0b57d75e5218e2881d6ad2720657a8bcf (patch) | |
tree | b176b0a28513678b6f808737af42415824b96d8d /drivers/gpu/drm/i915/i915_dma.c | |
parent | 4f233eff6f32745f8894eb513bc59851213c7833 (diff) | |
download | lwn-300387c0b57d75e5218e2881d6ad2720657a8bcf.tar.gz lwn-300387c0b57d75e5218e2881d6ad2720657a8bcf.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
0 files changed, 0 insertions, 0 deletions