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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-05-18 12:22:27 -04:00
parent 892b58fbf2
commit 76806fda80
1 changed files with 2 additions and 0 deletions

View File

@ -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);