mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Adam Jackson
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user