devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5dc1c1c8ebad8b9fdad502d564b0819bf9d7bd4b

commit 5dc1c1c8ebad8b9fdad502d564b0819bf9d7bd4b
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Oct 25 15:28:46 2017 -0400

    wl-drm: Fix issue of not being able to set output mode
    
    If we pass in screen geometry here when trying to set an output mode,
    we can encounter "out of memory" errors from libdrm with outputs that
    have a high resolution. As it turns out, we should be passing 0, 0 for
    the x/y values when trying to set an output mode.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/wl_drm/e_mod_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c
index e4355268e..f533f1907 100644
--- a/src/modules/wl_drm/e_mod_main.c
+++ b/src/modules/wl_drm/e_mod_main.c
@@ -580,8 +580,7 @@ _drm2_randr_apply(void)
         if (s->config.priority > top_priority)
           top_priority = s->config.priority;
 
-        ecore_drm2_output_mode_set(output, mode, s->config.geom.x,
-                                   s->config.geom.y);
+        ecore_drm2_output_mode_set(output, mode, 0, 0);
 
         /* TODO: cannot support rotations until we support planes
          * and we cannot support planes until Atomic support is in */

-- 


Reply via email to