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:
parent
892b58fbf2
commit
76806fda80
|
@ -441,6 +441,8 @@ _output_dpms_atomic_set(Ecore_Drm2_Output *output, int level)
|
||||||
ret = EINA_FALSE;
|
ret = EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cstate->dpms.value = level;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
sym_drmModeAtomicFree(req);
|
sym_drmModeAtomicFree(req);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue