summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_display.cpp
diff options
context:
space:
mode:
authorVenkat Thogaru <vthogaru@codeaurora.org>2020-01-27 15:49:58 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-04-08 22:19:53 -0700
commit137baa01e3adbc386a9ed752dfc74e58e0fd2e6c (patch)
tree9bf3c799a17b2b66e040b8cb2aac7933adeb5254 /sdm/libs/hwc2/hwc_display.cpp
parenta60e7287bc6a1ef95205b74e31b8f5ca940cc73b (diff)
sdm: Implement SetDisplayBrightness, GetDisplayBrightness.
Change-Id: Ica0f0bbb2955ad26fa113728ee152a21e6014b6c CRs-Fixed: 2454377
Diffstat (limited to 'sdm/libs/hwc2/hwc_display.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_display.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/sdm/libs/hwc2/hwc_display.cpp b/sdm/libs/hwc2/hwc_display.cpp
index 299aad76..7b9e36b9 100644
--- a/sdm/libs/hwc2/hwc_display.cpp
+++ b/sdm/libs/hwc2/hwc_display.cpp
@@ -1990,22 +1990,6 @@ void HWCDisplay::MarkLayersForClientComposition() {
void HWCDisplay::ApplyScanAdjustment(hwc_rect_t *display_frame) {
}
-int HWCDisplay::SetPanelBrightness(int level) {
- int ret = 0;
- if (display_intf_) {
- ret = display_intf_->SetPanelBrightness(level);
- validated_ = false;
- } else {
- ret = -EINVAL;
- }
-
- return ret;
-}
-
-int HWCDisplay::GetPanelBrightness(int *level) {
- return display_intf_->GetPanelBrightness(level);
-}
-
int HWCDisplay::ToggleScreenUpdates(bool enable) {
display_paused_ = enable ? false : true;
callbacks_->Refresh(id_);