Skip to content
Snippets Groups Projects
Commit 300387c0 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Tested-by: default avatarSitsofe 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: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 4f233eff
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment