diff options
author | Pullakavi Srinivas <spullaka@codeaurora.org> | 2018-10-25 16:12:03 +0530 |
---|---|---|
committer | Pullakavi Srinivas <spullaka@codeaurora.org> | 2018-10-25 16:18:17 +0530 |
commit | db3c1b8fdd29df9de1a3a26ca19a320b92f1ebc1 (patch) | |
tree | a6ee3414d06d29f8ea303be37b9c82d34c6901a4 /sdm/libs/core/drm | |
parent | f813023320f41d5cad1cb2a28c150f6fe9f7403a (diff) | |
download | display-db3c1b8fdd29df9de1a3a26ca19a320b92f1ebc1.tar.gz |
[REVERT] sdm: Allow poweron before first commit.
This change reverts I5f726c3b9c106fdc047d67591918d82939e45311
CRs-Fixed: 2305135
Change-Id: Iab7b8691ba97821e2e60f2af6e28ba865b61325a
Diffstat (limited to 'sdm/libs/core/drm')
-rw-r--r-- | sdm/libs/core/drm/hw_peripheral_drm.cpp | 4 |
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, ¤t_mode); + return kErrorNone; } drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, |