modesetting: Use actual crtc position for pageflip
Otherwise the same content is shown on all outputs. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Daniel Stone <daniels@collabora.comM>
This commit is contained in:
parent
a10f1c9e08
commit
85b3fc1860
|
@ -167,7 +167,7 @@ do_queue_flip_on_crtc(modesettingPtr ms, xf86CrtcPtr crtc,
|
|||
|
||||
if (ms->atomic_modeset) {
|
||||
flags |= DRM_MODE_ATOMIC_NONBLOCK;
|
||||
return drmmode_crtc_set_fb(crtc, NULL, ms->drmmode.fb_id, 0, 0, flags,
|
||||
return drmmode_crtc_set_fb(crtc, NULL, ms->drmmode.fb_id, crtc->x, crtc->y, flags,
|
||||
(void *) (uintptr_t) seq);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user