display: Provide DPMS wrapper via display-panel 20/290420/6
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 24 Mar 2023 04:04:30 +0000 (13:04 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 27 Mar 2023 04:51:06 +0000 (13:51 +0900)
commitba9c0e286a49739fbd68e7a3bd3b13cdb890889c
treef8f787afb589a1efff370223e5618310ef04cab6
parent34958bb68a13fc9edaf8793f8985956288337070
display: Provide DPMS wrapper via display-panel

Technically DPMS is subject to display-panel. Therefore added wrapper
for DPMS at display-panel.c.
 - dpms_get_cached_state()
    => display_panel_get_dpms_cached_state()
 - dpms_init()
    => display_panel_init_dpms()
 - dpms_exit()
    => display_panel_exit_dpms()
 - register_dpms_checklist()
    => display_panel_register_dpms_checklist()

And those existing DPMS functions have been restricted that it is
unable to be accessed from external object file. Plugins who want
deviced service for DPMS must not use DPMS function directly but use
wrapper provided by display-panel.h.

Change-Id: I8359b9b60981be14a03f8b7f89284f0b93596a24
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
30 files changed:
plugins/iot-headed/display/core.c
plugins/iot-headed/display/device-interface.c
plugins/iot-headed/display/key-filter.c
plugins/mobile/display/core.c
plugins/mobile/display/device-interface.c
plugins/mobile/display/key-filter.c
plugins/tv/display/core.c
plugins/tv/display/device-interface.c
plugins/tv/display/key-filter.c
plugins/wearable/display/core.c
plugins/wearable/display/device-interface.c
plugins/wearable/display/display-handler.c
plugins/wearable/display/hbm.c
plugins/wearable/display/key-filter.c
plugins/wearable/display/swim.c
src/display/display-backlight.c
src/display/display-backlight.h
src/display/display-config.c
src/display/display-config.h
src/display/display-dpms.c
src/display/display-dpms.h
src/display/display-panel.c
src/display/display-panel.h
src/display/display.h
src/display/plugin-common/ambient-mode.c
src/display/plugin-common/core.h
src/display/plugin-common/display-lock.c
src/power/power-suspend.c
src/shared/common.h
src/touchscreen/touchscreen.c