diff options
author | taeyoung <ty317.kim@samsung.com> | 2016-07-07 09:45:40 +0900 |
---|---|---|
committer | taeyoung <ty317.kim@samsung.com> | 2016-07-07 09:49:56 +0900 |
commit | e34e02fd4918405cebc4fc468a54cb66c4e041f0 (patch) | |
tree | 0c0d49e7fa0e34f8bec870cdb0d60818aac02d12 | |
parent | 72b6c01cd71f94fdc5107cc3bcaf7002d1af81ca (diff) | |
download | libdevice-node-e34e02fd4918405cebc4fc468a54cb66c4e041f0.tar.gz libdevice-node-e34e02fd4918405cebc4fc468a54cb66c4e041f0.tar.bz2 libdevice-node-e34e02fd4918405cebc4fc468a54cb66c4e041f0.zip |
display: add getter for the maximum brightness of displaysubmit/tizen/20160803.081834accepted/tizen/wearable/20160804.081125accepted/tizen/tv/20160804.081107accepted/tizen/mobile/20160804.081212accepted/tizen/ivi/20160804.081141accepted/tizen/common/20160804.174411
- The maximum brightness of display varies
according to the driver. Thus maximum brightness
function is added for platform to adjust all cases.
Change-Id: Iab3c2b82372b174d569487b7c85f2024185a89b5
Signed-off-by: taeyoung <ty317.kim@samsung.com>
-rw-r--r-- | hw/display.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display.h b/hw/display.h index a913d39..2dbdf46 100644 --- a/hw/display.h +++ b/hw/display.h @@ -62,7 +62,8 @@ enum display_panel_mode { struct display_device { struct hw_common common; - /* The brightness value is 0 to 100. */ + /* Control display brightness */ + int (*get_max_brightness)(int *brightness); int (*get_brightness)(int *brightness); int (*set_brightness)(int brightness); |