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

Commit 6a5b7a49 authored by Venkata Prahlad Valluru's avatar Venkata Prahlad Valluru Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: hdmi: fix handoff if deep color is supported by TV



Since bootloader doesn't support deep color, do
panel reconfig during handoff.

Change-Id: I878b17385a1e3aa50735361fbc404088af4d3eb4
Signed-off-by: default avatarVenkata Prahlad Valluru <vvalluru@codeaurora.org>
parent 3224cd61
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3992,6 +3992,16 @@ static int hdmi_tx_evt_handle_check_param(struct hdmi_tx_ctrl *hdmi_ctrl)
		DEV_DBG("%s: res change %d ==> %d\n", __func__,
			hdmi_ctrl->vic, new_vic);
	}

	/*
	 * Since bootloader doesn't support DC return 1
	 * for panel reconfig.
	 */
	if (hdmi_ctrl->panel_data.panel_info.cont_splash_enabled
			&& hdmi_tx_dc_support(hdmi_ctrl)) {
		rc = 1;
		DEV_DBG("%s: Bitdepth changed\n", __func__);
	}
end:
	return rc;
}