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

Commit 79a61c8a authored by Vinu Deokaran's avatar Vinu Deokaran Committed by David Keitel
Browse files

msm: mdss: add a new display id for panel destination



Since driver could support four displays running concurrently, adding
one more display id for setting up panel destination.

Change-Id: I0999b3787e1a329538d6513fc3c9a43a3da9999a
Signed-off-by: default avatarVinu Deokaran <vinud@codeaurora.org>
parent 8025140d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1688,7 +1688,7 @@ static int hdmi_tx_init_panel_info(struct hdmi_tx_ctrl *hdmi_ctrl)
	pinfo->lcdc.v_pulse_width = timing.pulse_width_v;

	pinfo->type = DTV_PANEL;
	pinfo->pdest = DISPLAY_2;
	pinfo->pdest = DISPLAY_3;
	pinfo->wait_cycle = 0;
	pinfo->bpp = 24;
	pinfo->fb_num = 1;
@@ -4905,7 +4905,7 @@ static int hdmi_tx_get_dt_data(struct platform_device *pdev,

	if (!pdata->cont_splash_enabled)
		pdata->cont_splash_enabled =
			hdmi_ctrl->mdss_util->panel_intf_status(DISPLAY_2,
			hdmi_ctrl->mdss_util->panel_intf_status(DISPLAY_3,
			MDSS_PANEL_INTF_HDMI) ? true : false;

	pdata->pluggable = of_property_read_bool(pdev->dev.of_node,
+2 −1
Original line number Diff line number Diff line
@@ -87,7 +87,8 @@ enum {
enum {
	DISPLAY_1 = 0,		/* attached as first device */
	DISPLAY_2,		/* attached on second device */
	DISPLAY_3,              /* attached on third writeback device */
	DISPLAY_3,		/* attached on third device */
	DISPLAY_4,		/* attached on fourth device */
	MAX_PHYS_TARGET_NUM,
};

+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static int mdss_wb_probe(struct platform_device *pdev)

	pdata->panel_info.type = WRITEBACK_PANEL;
	pdata->panel_info.clk_rate = 74250000;
	pdata->panel_info.pdest = DISPLAY_3;
	pdata->panel_info.pdest = DISPLAY_4;
	pdata->panel_info.out_format = MDP_Y_CBCR_H2V2_VENUS;

	pdata->event_handler = mdss_wb_event_handler;