Merge "sdm: Check display layer stack clock in PowerOn"
diff --git a/sdm/libs/core/display_base.cpp b/sdm/libs/core/display_base.cpp
index 0d182fe..0ed19d6 100644
--- a/sdm/libs/core/display_base.cpp
+++ b/sdm/libs/core/display_base.cpp
@@ -1835,6 +1835,8 @@
hw_events_intf_->SetEventState(HWEvent::POWER_EVENT, true);
}
+ cached_qos_data_.clock_hz =
+ std::max(cached_qos_data_.clock_hz, disp_layer_stack_.info.qos_data.clock_hz);
error = hw_intf_->PowerOn(cached_qos_data_, &sync_points);
if (error != kErrorNone) {
if (error == kErrorDeferred) {