summaryrefslogtreecommitdiff
path: root/sdm/include
diff options
context:
space:
mode:
authorCh Ganesh Kumar <chganesh@codeaurora.org>2018-03-15 19:08:24 +0530
committerGurpreet Singh Dhami <gdhami@codeaurora.org>2018-04-05 10:55:16 -0400
commit87f9cae8f8e3f384d3abfe77b0c02d2ac12c4120 (patch)
tree0840327e4914737de3ebe3e2a0023cb96e590b06 /sdm/include
parent0bd1c5d9f93f887c66deef760fcd133b37d74a70 (diff)
downloaddisplay-87f9cae8f8e3f384d3abfe77b0c02d2ac12c4120.tar.gz
Revert "sdm: add one action to set panel brightness and refresh screen"
This reverts commit c31d7f8d94d0caf226b0ee246400b435a4fa7cec. Conflicts: sdm/include/private/color_params.h sdm/libs/core/fb/hw_device.cpp sdm/libs/hwc/hwc_display.cpp sdm/libs/hwc/hwc_display.h sdm/libs/hwc/hwc_session.cpp Change-Id: I76729ee9ae83a611fca632e18315d478bcf13fa4
Diffstat (limited to 'sdm/include')
-rw-r--r--sdm/include/core/display_interface.h8
-rw-r--r--sdm/include/private/color_params.h3
2 files changed, 1 insertions, 10 deletions
diff --git a/sdm/include/core/display_interface.h b/sdm/include/core/display_interface.h
index 1f813acf..8156ca41 100644
--- a/sdm/include/core/display_interface.h
+++ b/sdm/include/core/display_interface.h
@@ -491,14 +491,6 @@ class DisplayInterface {
*/
virtual DisplayError SetPanelBrightness(int level) = 0;
- /*! @brief Method to cache brightness of the primary display.
-
- @param[in] level the new backlight level.
-
- @return \link DisplayError \endlink
- */
- virtual DisplayError CachePanelBrightness(int level) = 0;
-
/*! @brief Method to notify display about change in min HDCP encryption level.
@param[in] min_enc_level minimum encryption level value.
diff --git a/sdm/include/private/color_params.h b/sdm/include/private/color_params.h
index 12e41fd1..b71266cf 100644
--- a/sdm/include/private/color_params.h
+++ b/sdm/include/private/color_params.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2017, The Linux Foundataion. All rights reserved.
+/* Copyright (c) 2015-2018, The Linux Foundataion. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -54,7 +54,6 @@ enum PendingAction {
kEnableFrameCapture = BITMAP(6),
kDisableFrameCapture = BITMAP(7),
kConfigureDetailedEnhancer = BITMAP(8),
- kInvalidatingAndkSetPanelBrightness = BITMAP(9),
kModeSet = BITMAP(10),
kGetDetailedEnhancerData = BITMAP(21),
kNoAction = BITMAP(31),