From e091ace4d861bbcd67d69f409f0cdf365ee2e685 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 5 Apr 2016 20:01:07 +0100 Subject: [PATCH] sna/present: Remove stale assert that fake vblanks only have one event Since commit 02f535e8f3659f1147c6f2e698bd5d8730dec19b Author: Chris Wilson Date: Thu Mar 24 09:39:06 2016 +0000 sna/present: Requeue early vblank completions we may hit the fake vblank timer path with an old hw struct that may have multiple associated events. The assert that we only called the fake vblank from sna_present_queue_vblank is no longer correct. Reported-by: Christoph Haag References: https://bugs.freedesktop.org/show_bug.cgi?id=94829#c15 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 621791ad..e0a473ae 100644 --- a/src/sna/sna_present.c +++ b/src/sna/sna_present.c @@ -226,8 +226,6 @@ static bool sna_fake_vblank(struct sna_present_event *info) uint64_t msc = sna_crtc_last_swap(info->crtc)->msc; uint32_t delay; - assert(info->n_event_id == 1); - if (msc < info->target_msc) delay = msc_to_delay(info->crtc, info->target_msc); else