Adopt a dpms cache 54/245554/1
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 5 Oct 2020 08:09:04 +0000 (17:09 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 12 Oct 2020 08:45:59 +0000 (17:45 +0900)
commitcdf32833d23343df183324049c6aa49a04bc5d30
treec0115b6e0fca8accf68c21a9ef1fa35f90a9da1b
parentce51a0a20b5a136a69c412e074860dc8455bf6f8
Adopt a dpms cache

In the previos structure, deviced sets dpms through Enlightenment,
whereas gets dpms by reading the lcd power node directly. There is
a possibility of a miasmatch between the actual dpms state and the
lcd power node. The cached dpms value is alternatively used for
this situation in replacement of the get_lcd_power().

Change-Id: Id0144cd76cb017694198856f6b40ff7162b61e64
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
plugins/iot/display/device-interface.c
plugins/mobile/display/device-interface.c
plugins/tv/display/device-interface.c
plugins/wearable/display/device-interface.c
src/display/device-interface.h
src/display/display-dpms.c
src/display/display-dpms.h
src/touchscreen/touchscreen.c