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

Commit e451bad3 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa
Browse files

msm: mdss: hdmi: retain clock state after successful handoff



When HDMI is selected as the primary interface, we want to
retain the HDMI clock state after a successful handoff to ensure
that the interface continues to send data to the sink. We achieve
this by maintaining the HDMI PHY status when we detect that
handoff is in progress.

Change-Id: I0aaefc96d63b9eaf3928c11b5dab51cce99e1dc3
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 07894f5f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4472,7 +4472,8 @@ static int hdmi_tx_panel_event_handler(struct mdss_panel_data *panel_data,
		break;

	case MDSS_EVENT_RESET:
		if (hdmi_ctrl->hpd_initialized) {
		if (!hdmi_ctrl->pdata.cont_splash_enabled &&
				hdmi_ctrl->hpd_initialized) {
			hdmi_tx_set_mode(hdmi_ctrl, false);
			hdmi_tx_phy_reset(hdmi_ctrl);
			hdmi_tx_set_mode(hdmi_ctrl, true);