devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bd6d83bee7c32ee0c03a941ff4b142202b7fffa4

commit bd6d83bee7c32ee0c03a941ff4b142202b7fffa4
Author: Christopher Michael <[email protected]>
Date:   Wed Jan 2 10:03:06 2019 -0500

    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
---
 src/lib/ecore_drm2/ecore_drm2_fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
      {
         ret =
           sym_drmModeSetCrtc(fb->fd, output->crtc_id, fb->id,
-                             output->x, output->y, &output->conn_id, 1,
+                             0, 0, &output->conn_id, 1,
                              &output->current_mode->info);
         if (ret)
           {

-- 


Reply via email to