summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2022-08-27 07:10:01 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2022-08-27 07:10:01 -0700
commitcdccc1580facfb3cc4cfae9661ad2e817a96fe33 (patch)
tree98b8af4f4911974591e260c3cb13144e71e2f1d1
parent23ad31022a1dc8ede818b45da58971a8c8b37d07 (diff)
parent3ac65010787d5f7d033a6ee5b5bcf0dd3340f524 (diff)
Merge "drm: set active during doze mode"
-rw-r--r--sdm/libs/core/drm/hw_peripheral_drm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdm/libs/core/drm/hw_peripheral_drm.cpp b/sdm/libs/core/drm/hw_peripheral_drm.cpp
index 3803c6b9..95185b07 100644
--- a/sdm/libs/core/drm/hw_peripheral_drm.cpp
+++ b/sdm/libs/core/drm/hw_peripheral_drm.cpp
@@ -615,9 +615,9 @@ DisplayError HWPeripheralDRM::Doze(const HWQosData &qos_data, SyncPoints *sync_p
if (err != kErrorNone) {
return err;
}
- if (first_cycle_) {
- active_ = true;
- }
+
+ active_ = true;
+
SetTUIState();
return kErrorNone;
}