dal: Validate and reset tui state during power on
Change-Id: I4b5cdc34fb07cbd3db0aaa408cc91cdc01a50a35
CRs-Fixed: 3356622
diff --git a/sdm/libs/dal/hw_peripheral_drm.cpp b/sdm/libs/dal/hw_peripheral_drm.cpp
index c534f3b..711c302 100644
--- a/sdm/libs/dal/hw_peripheral_drm.cpp
+++ b/sdm/libs/dal/hw_peripheral_drm.cpp
@@ -541,6 +541,7 @@
pending_power_state_ = kPowerStateOn;
return kErrorDeferred;
}
+ SetVMReqState();
if (switch_mode_valid_ && doze_poms_switch_done_ && (current_mode_index_ == cmd_mode_index_)) {
HWDeviceDRM::SetDisplayMode(kModeVideo);
@@ -567,6 +568,7 @@
idle_pc_enabled_ = true;
pending_poms_switch_ = false;
active_ = true;
+ SetTUIState();
CacheDestScalarData();