sna: Increase assertion to cater for concurrent & recursion vblank/flip handlers

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-06-10 17:56:51 +01:00
parent 76be878272
commit 4c0d0f4d38
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ static inline bool sna_crtc_is_on(xf86CrtcPtr crtc)
static inline void sna_crtc_set_vblank(xf86CrtcPtr crtc)
{
assert((*sna_crtc_flags(crtc) & CRTC_VBLANK) < 2);
assert((*sna_crtc_flags(crtc) & CRTC_VBLANK) < 3);
++*sna_crtc_flags(crtc);
}