raster pushed a commit to branch efl-1.20.

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

commit 62cec26b0ced928a62745061b57609e201152d7a
Author: Chris Michael <[email protected]>
Date:   Wed Nov 1 08:52:03 2017 -0400

    ecore-drm2: 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 <[email protected]>
---
 src/lib/ecore_drm2/ecore_drm2_outputs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c 
b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index a6e84ee268..256b1889c7 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1361,7 +1361,7 @@ ecore_drm2_output_mode_set(Ecore_Drm2_Output *output, 
Ecore_Drm2_Output_Mode *mo
                buffer = output->ocrtc->buffer_id;
 
              if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer,
-                                    x, y, &output->conn_id, 1, &mode->info) < 
0)
+                                    0, 0, &output->conn_id, 1, &mode->info) < 
0)
                {
                   ERR("Failed to set Mode %dx%d for Output %s: %m",
                       mode->width, mode->height, output->name);

-- 


Reply via email to