display: Move display get dpms state function from plugin to core display module 44/288944/10
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 24 Feb 2023 09:40:55 +0000 (18:40 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 08:03:02 +0000 (17:03 +0900)
commitce501b6cd3f7ef9232273604b6266f4587c96da7
tree4f37e981f9d10bca94964c1dcc880c00a6c35954
parent14ca6101e746bfbb6d81c79dc1617248458617fc
display: Move display get dpms state function from plugin to core display module

Remove and redefine display dpms state function.
These functions are added to below display-panel.

int display_panel_get_dpms_state(void)
-> This function returns dpms state and replaces get_lcd_power_node located in plugins.
void display_panel_set_dpms_running_state(int val)
-> This function initialize dpms_running_state

Change-Id: I34e29e3477113d2f19835c0782303334ba0d870f
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/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-panel.c
src/display/display-panel.h