summaryrefslogtreecommitdiff
path: root/sdm/libs/core/drm/hw_peripheral_drm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdm/libs/core/drm/hw_peripheral_drm.cpp')
-rw-r--r--sdm/libs/core/drm/hw_peripheral_drm.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sdm/libs/core/drm/hw_peripheral_drm.cpp b/sdm/libs/core/drm/hw_peripheral_drm.cpp
index 9c426d85..ec865fe6 100644
--- a/sdm/libs/core/drm/hw_peripheral_drm.cpp
+++ b/sdm/libs/core/drm/hw_peripheral_drm.cpp
@@ -437,7 +437,6 @@ DisplayError HWPeripheralDRM::PowerOn(const HWQosData &qos_data, int *release_fe
}
if (first_cycle_) {
- last_power_mode_ = DRMPowerMode::ON;
return kErrorNone;
}
drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id,