From: Chris Michael Date: Thu, 18 May 2017 16:22:27 +0000 (-0400) Subject: ecore-drm2: Update connector state dpms value if setting works X-Git-Tag: upstream/1.20.0~1011 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76806fda80dacd96fe7e9c75edea1eff837dca59;p=platform%2Fupstream%2Fefl.git ecore-drm2: Update connector state dpms value if setting works If we successfully set dpms via atomic state, we should also update the connector state dpms value @fix Signed-off-by: Chris Michael --- diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c index 2137197..31c5957 100644 --- a/src/lib/ecore_drm2/ecore_drm2_outputs.c +++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c @@ -441,6 +441,8 @@ _output_dpms_atomic_set(Ecore_Drm2_Output *output, int level) ret = EINA_FALSE; } + cstate->dpms.value = level; + err: sym_drmModeAtomicFree(req);