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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sdm/libs/core/drm/hw_peripheral_drm.cpp b/sdm/libs/core/drm/hw_peripheral_drm.cpp
index a7bb33d6..71437d48 100644
--- a/sdm/libs/core/drm/hw_peripheral_drm.cpp
+++ b/sdm/libs/core/drm/hw_peripheral_drm.cpp
@@ -273,9 +273,7 @@ DisplayError HWPeripheralDRM::PowerOn(int *release_fence) {
}
if (first_cycle_) {
- drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id);
- drmModeModeInfo current_mode = connector_info_.modes[current_mode_index_].mode;
- drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, &current_mode);
+ return kErrorNone;
}
drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id,