xf86-video-intel: src/sna/sna_present.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Jun 7 10:07:06 UTC 2017


 src/sna/sna_present.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 6babcf15dd605ef40de53f5c34f95b7fd195edbe
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 7 11:05:25 2017 +0100

    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 <chris at chris-wilson.co.uk>

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;
 	}
 


More information about the xorg-commit mailing list