devilhorns pushed a commit to branch master.

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

commit 444926923fde111d66b4342a3af48b6972a2dffc
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Nov 2 09:25:40 2015 -0500

    ecore-evas-drm: Use GBM_FORMAT_XRGB8888 when creating new canvas
    
    Summary: With linux kernels >= 4.2.x, we need to use
    GBM_FORMAT_XRGB8888 when creating a new canvas else we end up with a
    format mismatch when trying to add the framebuffer
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c 
b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 21d706c..9bd3087 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -341,7 +341,7 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned 
int parent EINA_UNUS
    Ecore_Evas_Interface_Drm *iface;
    Ecore_Evas_Engine_Drm_Data *edata;
    int method;
-   uint32_t format = GBM_FORMAT_ARGB8888;
+   uint32_t format = GBM_FORMAT_XRGB8888;
    uint32_t flags  = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING;
    char *num;
 

-- 


Reply via email to