Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b3fe01a authored by Yashwanth's avatar Yashwanth
Browse files

disp: msm: sde: add allow_gdsc_toggle property for scuba target



During crtc_disable, gdsc toggle will not happen if an
external vote(like secure vote) is present. In such cases,
this change allows gdsc to toggle by removing the vote
temporarily and adding it again.

Change-Id: Ib3a745d75bba460ba3563940770726347786348a
Signed-off-by: default avatarYashwanth <yvulapu@codeaurora.org>
parent 454ccc1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4373,6 +4373,7 @@ static int _sde_hardware_pre_caps(struct sde_mdss_cfg *sde_cfg, uint32_t hw_rev)
		sde_cfg->sui_block_xin_mask = 0x1;
		sde_cfg->has_hdr = false;
		sde_cfg->has_sui_blendstage = true;
		sde_cfg->allow_gdsc_toggle = true;
		clear_bit(MDSS_INTR_AD4_0_INTR, sde_cfg->mdss_irqs);
		clear_bit(MDSS_INTR_AD4_1_INTR, sde_cfg->mdss_irqs);
	} else {