display: Add support to select the DPMS type 42/288242/6 accepted/tizen/unified/20230220.174453
authorTaeminYeom <taemin.yeom@samsung.com>
Tue, 14 Feb 2023 03:18:58 +0000 (12:18 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Fri, 17 Feb 2023 06:09:43 +0000 (15:09 +0900)
commit7d71b2642fa719a7f45c5cc05fe877daa6291118
tree14e1951c13518b6d228ba1d9f0307b7dee670802
parente40ed08ddd42dfca6f7bc3c9cbf9dbc3dcbb0a79
display: Add support to select the DPMS type

DPMS (Display Power Management Signaling) is typically done by
requesting window manager. But some devices don't support window manager
and previous DPMS code was written assuming exiting window manager.
So, to support none window manager devices, dpms_ops struct is added.
According to DPMS type configuration, DPMS function can be bypassed.
If a new DPMS function is created later, it can be supported by connecting to dpms_ops.

[New added configuration]
- DisplayDPMSType
  : Indicates the type of DPMS. (window_manager or none)
    Default value is window_manager

Change-Id: I8a9f254102086b3e22c9498c1604e45c5053b60e
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
12 files changed:
conf/display-profile-iot-headed.conf
conf/display-profile-mobile.conf
conf/display-profile-tv.conf
conf/display-profile-wearable.conf
plugins/iot-headed/display/core.c
plugins/mobile/display/core.c
plugins/tv/display/core.c
plugins/wearable/display/core.c
src/display/core.h
src/display/display-dpms.c
src/display/display-dpms.h
src/display/display.c