sdm: Add HIDL implementation to configure bit clocks.
Change-Id: I2ff291c6d0c27986bd207ffdc22c8b67431d632c
CRs-Fixed: 2476186
diff --git a/composer/hwc_display_builtin.cpp b/composer/hwc_display_builtin.cpp
index c304dde..d4c4308 100644
--- a/composer/hwc_display_builtin.cpp
+++ b/composer/hwc_display_builtin.cpp
@@ -843,15 +843,11 @@
}
DisplayError HWCDisplayBuiltIn::SetDynamicDSIClock(uint64_t bitclk) {
- {
- SEQUENCE_WAIT_SCOPE_LOCK(HWCSession::locker_[type_]);
- DisablePartialUpdateOneFrame();
-
- DisplayError error = display_intf_->SetDynamicDSIClock(bitclk);
- if (error != kErrorNone) {
- DLOGE(" failed: Clk: %llu Error: %d", bitclk, error);
- return error;
- }
+ DisablePartialUpdateOneFrame();
+ DisplayError error = display_intf_->SetDynamicDSIClock(bitclk);
+ if (error != kErrorNone) {
+ DLOGE(" failed: Clk: %llu Error: %d", bitclk, error);
+ return error;
}
callbacks_->Refresh(id_);
@@ -861,7 +857,6 @@
}
DisplayError HWCDisplayBuiltIn::GetDynamicDSIClock(uint64_t *bitclk) {
- SEQUENCE_WAIT_SCOPE_LOCK(HWCSession::locker_[type_]);
if (display_intf_) {
return display_intf_->GetDynamicDSIClock(bitclk);
}