summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-01-02 10:03:06 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-01-02 10:03:06 -0500
commitbd6d83bee7c32ee0c03a941ff4b142202b7fffa4 (patch)
tree7016003ae50c32b1e59843d524cde22eb34d9e91 /src/lib/ecore_drm2
parentcbac8eddb097d55b927e30b22f28f187808a4d0a (diff)
ecore-drm2: Fix drmModeSetCrtc call during fb flip
drmModeSetCrtc x & y values are actually offsets into the framebuffer memory. As such, we should not be sending output position here. @fix
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 243feca289..4e26fd765a 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -472,7 +472,7 @@ _fb_flip(Ecore_Drm2_Output *output)
472 { 472 {
473 ret = 473 ret =
474 sym_drmModeSetCrtc(fb->fd, output->crtc_id, fb->id, 474 sym_drmModeSetCrtc(fb->fd, output->crtc_id, fb->id,
475 output->x, output->y, &output->conn_id, 1, 475 0, 0, &output->conn_id, 1,
476 &output->current_mode->info); 476 &output->current_mode->info);
477 if (ret) 477 if (ret)
478 { 478 {