diff options
author | JohnnLee <johnnlee@google.com> | 2021-06-03 11:38:23 +0800 |
---|---|---|
committer | JohnnLee <johnnlee@google.com> | 2021-06-03 11:59:31 +0800 |
commit | a91333cc7d6dfa2ecc543d1b14eff8f757bc4b0b (patch) | |
tree | e1570e5aa0c6b316f43c0867157c11ab80f75a95 /sdm/libs/hwc2/hwc_display_builtin.cpp | |
parent | 2c61be2dd1bbe0f4b52dc4526898550142cd1bf2 (diff) | |
download | display-a91333cc7d6dfa2ecc543d1b14eff8f757bc4b0b.tar.gz |
Revert "hwc2: Add VRR related Composer 2.4 APIs"
This reverts commit 3cf1699ad8a45481d0a5383b0879f1f3cfa1ebb1.
Change-Id: Ibca65e83c74ba82e456902e0623e700645001d33
Diffstat (limited to 'sdm/libs/hwc2/hwc_display_builtin.cpp')
-rw-r--r-- | sdm/libs/hwc2/hwc_display_builtin.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sdm/libs/hwc2/hwc_display_builtin.cpp b/sdm/libs/hwc2/hwc_display_builtin.cpp index aa65ba73..c85b772c 100644 --- a/sdm/libs/hwc2/hwc_display_builtin.cpp +++ b/sdm/libs/hwc2/hwc_display_builtin.cpp @@ -172,13 +172,6 @@ int HWCDisplayBuiltIn::Init() { if (enable_optimize_refresh_) { DLOGI("Drop redundant drawcycles %d", id_); } - - int vsyncs = 0; - HWCDebugHandler::Get()->GetProperty(DEFER_FPS_FRAME_COUNT, &vsyncs); - if (vsyncs > 0) { - SetVsyncsApplyRateChange(UINT32(vsyncs)); - } - pmic_intf_ = new PMICInterface(); pmic_intf_->Init(); |