From 6babcf15dd605ef40de53f5c34f95b7fd195edbe Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 7 Jun 2017 11:05:25 +0100 Subject: [PATCH] sna/present: Drop TearFree assert at the end of unflip There are more reasons than just TearFree as to why the shadow may be disabled (such as no outputs), so without taking those into account the assert is bogus. Signed-off-by: Chris Wilson --- src/sna/sna_present.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sna/sna_present.c b/src/sna/sna_present.c index 64f4f008..efe80387 100644 --- a/src/sna/sna_present.c +++ b/src/sna/sna_present.c @@ -899,8 +899,6 @@ notify: swap->tv_sec, swap->tv_usec, (long long)swap->msc, (long long)event_id)); present_event_notify(event_id, swap_ust(swap), swap->msc); - assert(!(sna->flags & SNA_TEAR_FREE) || - sna->mode.shadow_enabled); return; }