summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorShubham Dubey <dubeyshubham@google.com>2022-02-16 04:47:05 +0000
committerShubham Dubey <dubeyshubham@google.com>2022-02-16 04:47:05 +0000
commit13c602ef2fa6ec36e9ec02633ec7727fd4427d3c (patch)
treec4beb98a395704dbb2b039a6528ace1d428b3688 /hwc3/impl/HalImpl.cpp
parent91700d7c6e6cea728e3d8525745ddbf8a0517c98 (diff)
Revert "libhwc2.1: support setIdleTimerEnabled"
This reverts commit 91700d7c6e6cea728e3d8525745ddbf8a0517c98. Reason for revert: Introduced untracked linux denials BUG: 219857957 Change-Id: I924352333ff3c36e971c11a8f48831ab5cac75b3
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r--hwc3/impl/HalImpl.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp
index e16aff9..c999d50 100644
--- a/hwc3/impl/HalImpl.cpp
+++ b/hwc3/impl/HalImpl.cpp
@@ -939,11 +939,12 @@ int32_t HalImpl::setVsyncEnabled(int64_t display, bool enabled) {
return halDisplay->setVsyncEnabled(hwcEnable);
}
-int32_t HalImpl::setIdleTimerEnabled(int64_t display, int32_t timeout) {
+int32_t HalImpl::setIdleTimerEnabled(int64_t display, int32_t __unused timeout) {
ExynosDisplay* halDisplay;
RET_IF_ERR(getHalDisplay(display, halDisplay));
- return halDisplay->setDisplayIdleTimer(timeout);
+ // TODO(b/198808492): implement setIdleTimerEnabled
+ return HWC2_ERROR_UNSUPPORTED;
}
int32_t HalImpl::validateDisplay(int64_t display, std::vector<int64_t>* outChangedLayers,
@@ -1013,11 +1014,4 @@ int32_t HalImpl::getRCDLayerSupport(int64_t display, bool& outSupport) {
return halDisplay->getRCDLayerSupport(outSupport);
}
-int32_t HalImpl::getDisplayIdleTimerSupport(int64_t display, bool& outSupport) {
- ExynosDisplay* halDisplay;
- RET_IF_ERR(getHalDisplay(display, halDisplay));
-
- return halDisplay->getDisplayIdleTimerSupport(outSupport);
-}
-
} // namespace aidl::android::hardware::graphics::composer3::impl