diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-16 15:57:14 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-16 16:01:48 +0000 |
commit | 53c435c6cd74fcd06e3f0d393295798f5af864c0 (patch) | |
tree | 277563de2e776df05460cd986f917f7a15c7fd87 /src | |
parent | 10e40489e22f7e65c919082ffe2a37d5f000dcee (diff) |
sna/present: Only share vblanks on the same CRTC
Remember vblanks are private to a CRTC, the same MSC on another CRTC may
fire at completely different times...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_present.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_present.c b/src/sna/sna_present.c index 6efe429f..aef8685e 100644 --- a/src/sna/sna_present.c +++ b/src/sna/sna_present.c @@ -274,7 +274,7 @@ sna_present_queue_vblank(RRCrtcPtr crtc, uint64_t event_id, uint64_t msc) } list_for_each_entry(tmp, &sna->present.vblank_queue, link) { - if (tmp->target_msc == msc) { + if (tmp->target_msc == msc && tmp->crtc == crtc->devPrivate) { uint64_t *events = tmp->event_id; if (is_power_of_two(tmp->n_event_id)) { |