summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPullakavi Srinivas <spullaka@codeaurora.org>2018-10-25 16:12:03 +0530
committerPullakavi Srinivas <spullaka@codeaurora.org>2018-10-25 16:18:17 +0530
commitdb3c1b8fdd29df9de1a3a26ca19a320b92f1ebc1 (patch)
treea6ee3414d06d29f8ea303be37b9c82d34c6901a4
parentf813023320f41d5cad1cb2a28c150f6fe9f7403a (diff)
downloadandroid_hardware_qcom_sdm710_display-db3c1b8fdd29df9de1a3a26ca19a320b92f1ebc1.tar.gz
android_hardware_qcom_sdm710_display-db3c1b8fdd29df9de1a3a26ca19a320b92f1ebc1.tar.bz2
android_hardware_qcom_sdm710_display-db3c1b8fdd29df9de1a3a26ca19a320b92f1ebc1.zip
[REVERT] sdm: Allow poweron before first commit.
This change reverts I5f726c3b9c106fdc047d67591918d82939e45311 CRs-Fixed: 2305135 Change-Id: Iab7b8691ba97821e2e60f2af6e28ba865b61325a
-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,