display: Add functions related to brightness 08/288508/12
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 17 Feb 2023 08:26:45 +0000 (17:26 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 06:23:46 +0000 (15:23 +0900)
commit0229a9c3bb3a213ffb5f9f00d7f2ccd2a8be9559
treef8325eac82aaaaa0cd4b71df7a7f5fba202cb4f9
parent9600e86c8e31cd8bd90fef5514857292d6325728
display: Add functions related to brightness

Move plugin static functions to core(display module).
This is for moving backlight_ops functions related to brightess without dependency.

int display_backlight_get_max_brightness(int *max_brightness)
-> This function replaces the get_max_brightness function located in plugins.

int display_backlight_get_normalized_brightness(int raw_brightness,
int *normalized_brightness)
-> This function replaces the get_brt_normalized function located in plugins.

Change-Id: I7452f90075ef63acdc8f595fe99d47e0bfe4f4a1
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/display-backlight.c [new file with mode: 0644]
src/display/display-backlight.h [new file with mode: 0644]