sna/present: Remove stale assert that fake vblanks only have one event

Since commit 02f535e8f3
Author: Chris Wilson <chris@chris-wilson.co.uk>
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 <haagch@frickel.club>
References: https://bugs.freedesktop.org/show_bug.cgi?id=94829#c15
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-04-05 20:01:07 +01:00
parent 4b4324cd05
commit e091ace4d8
1 changed files with 0 additions and 2 deletions

View File

@ -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