diff options
author | Midas Chien <midaschieh@google.com> | 2022-01-27 14:31:14 +0800 |
---|---|---|
committer | Midas Chien <midaschieh@google.com> | 2022-02-15 18:49:31 +0800 |
commit | 91700d7c6e6cea728e3d8525745ddbf8a0517c98 (patch) | |
tree | ab49b4ec7ddbdb96e703e7e6cbdd791ed20cc6d4 /hwc3/impl/HalImpl.h | |
parent | 5e1092a20e899b269fb62bcd3f5d001ddbb37d37 (diff) | |
download | common-91700d7c6e6cea728e3d8525745ddbf8a0517c98.tar.gz |
libhwc2.1: support setIdleTimerEnabled
Implement setIdleTimerEnabled to control kernel idle timer via HWC API.
Bug: 198808492
Test: VTS (--gtest_filter=*SetIdleTimerEnabled_*)
Test: check idle_delay_ms from sysnode match what HWC set
Change-Id: Ia222101a4f0e440db3daf03cd798bf2e748259a5
Diffstat (limited to 'hwc3/impl/HalImpl.h')
-rw-r--r-- | hwc3/impl/HalImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.h b/hwc3/impl/HalImpl.h index 518870f..4b87b82 100644 --- a/hwc3/impl/HalImpl.h +++ b/hwc3/impl/HalImpl.h @@ -135,6 +135,7 @@ class HalImpl : public IComposerHal { int32_t setReadbackBuffer(int64_t display, buffer_handle_t buffer, const ndk::ScopedFileDescriptor& releaseFence) override; int32_t setVsyncEnabled(int64_t display, bool enabled) override; + int32_t getDisplayIdleTimerSupport(int64_t display, bool& outSupport) override; int32_t setIdleTimerEnabled(int64_t display, int32_t timeout) override; int32_t getRCDLayerSupport(int64_t display, bool& outSupport) override; int32_t validateDisplay(int64_t display, std::vector<int64_t>* outChangedLayers, |