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:
parent
76be878272
commit
4c0d0f4d38
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue