summaryrefslogtreecommitdiff
path: root/sdm/libs/core/drm
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-04-15 10:42:45 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-04-15 10:42:45 -0700
commitb9f0ae7f8b1b08ed9b821b21e21764a22f246c17 (patch)
tree3ad7a108c111084b2f5ddbfe2c054b0bd264e546 /sdm/libs/core/drm
parentc5e297f045088d7327c54fe9786fd0dfdd3fa6cd (diff)
parent87f9cae8f8e3f384d3abfe77b0c02d2ac12c4120 (diff)
downloaddisplay-b9f0ae7f8b1b08ed9b821b21e21764a22f246c17.tar.gz
Merge "Revert "sdm: add one action to set panel brightness and refresh screen""
Diffstat (limited to 'sdm/libs/core/drm')
-rw-r--r--sdm/libs/core/drm/hw_device_drm.cpp4
-rw-r--r--sdm/libs/core/drm/hw_device_drm.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/sdm/libs/core/drm/hw_device_drm.cpp b/sdm/libs/core/drm/hw_device_drm.cpp
index c6547e95..e90a782b 100644
--- a/sdm/libs/core/drm/hw_device_drm.cpp
+++ b/sdm/libs/core/drm/hw_device_drm.cpp
@@ -1392,10 +1392,6 @@ DisplayError HWDeviceDRM::GetPanelBrightness(int *level) {
return err;
}
-DisplayError HWDeviceDRM::CachePanelBrightness(int level) {
- return kErrorNotSupported;
-}
-
DisplayError HWDeviceDRM::GetHWScanInfo(HWScanInfo *scan_info) {
return kErrorNotSupported;
}
diff --git a/sdm/libs/core/drm/hw_device_drm.h b/sdm/libs/core/drm/hw_device_drm.h
index a0f579d4..d2fa276f 100644
--- a/sdm/libs/core/drm/hw_device_drm.h
+++ b/sdm/libs/core/drm/hw_device_drm.h
@@ -83,7 +83,6 @@ class HWDeviceDRM : public HWInterface {
virtual DisplayError SetDisplayMode(const HWDisplayMode hw_display_mode);
virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
virtual DisplayError SetPanelBrightness(int level);
- virtual DisplayError CachePanelBrightness(int level);
virtual DisplayError GetHWScanInfo(HWScanInfo *scan_info);
virtual DisplayError GetVideoFormat(uint32_t config_index, uint32_t *video_format);
virtual DisplayError GetMaxCEAFormat(uint32_t *max_cea_format);