From: Chris Michael Date: Thu, 22 Sep 2016 18:18:58 +0000 (-0400) Subject: ecore-drm2: Use just DRM_MODE_ATOMIC_ALLOW_MODESET for initial setting X-Git-Tag: upstream/1.20.0~4236^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84cb88fe8c4880546fdeb9678ef7410a74ef448a;p=platform%2Fupstream%2Fefl.git ecore-drm2: Use just DRM_MODE_ATOMIC_ALLOW_MODESET for initial setting of mode This fixes an issue where gl_drm engine would end up flickering everytime a frame was being set. Thanks derek ;) Signed-off-by: Chris Michael --- diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index 94c6fa3..0127519 100644 --- a/src/lib/ecore_drm2/ecore_drm2_fb.c +++ b/src/lib/ecore_drm2/ecore_drm2_fb.c @@ -376,7 +376,7 @@ ecore_drm2_fb_flip(Ecore_Drm2_Fb *fb, Ecore_Drm2_Output *output) if ((!output->current) || (output->current->stride != fb->stride)) { - flags |= DRM_MODE_ATOMIC_ALLOW_MODESET; + flags = DRM_MODE_ATOMIC_ALLOW_MODESET; ret = _fb_atomic_flip(output, pstate, flags); if (ret < 0)