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

Commit ecb90f5c authored by Ujwal Patel's avatar Ujwal Patel
Browse files

Revert "msm: mdss: disable VIG3 and RGB3 pipes for APQ8084"



Root cause of the original issue mentioned in commit 9f9e334e has been
identified and fixed. Reverting the temporary workaround.

This reverts commit 9f9e334e.

Change-Id: I1a3ac374244e071c95e27042687dae5e5839f6b9
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent fa184d34
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -39,18 +39,19 @@
		qcom,max-clk-rate = <320000000>;

		qcom,mdss-pipe-vig-off = <0x00001200 0x00001600
					  0x00001A00>;
					  0x00001A00 0x00001E00>;
		qcom,mdss-pipe-rgb-off = <0x00002200 0x00002600
					  0x00002A00>;
					  0x00002A00 0x00002E00>;
		qcom,mdss-pipe-dma-off = <0x00003200 0x00003600>;

		qcom,mdss-pipe-vig-fetch-id = <1 4 7>;
		qcom,mdss-pipe-rgb-fetch-id = <16 17 18>;
		qcom,mdss-pipe-vig-fetch-id = <1 4 7 19>;
		qcom,mdss-pipe-rgb-fetch-id = <16 17 18 22>;
		qcom,mdss-pipe-dma-fetch-id = <10 13>;

		qcom,mdss-pipe-rgb-fixed-mmb =	<2 0 1>,
						<2 2 3>,
						<2 4 5>;
						<2 4 5>,
						<2 6 7>;

		qcom,mdss-smp-data = <44 8192>;

+0 −9
Original line number Diff line number Diff line
@@ -955,15 +955,6 @@ int mdss_hw_init(struct mdss_data_type *mdata)
	mdata->mdp_rev = MDSS_MDP_REG_READ(MDSS_MDP_REG_HW_VERSION);
	pr_info_once("MDP Rev=%x\n", mdata->mdp_rev);

	/*
	 * This smp workaround is temporary until under-run root cause
	 * is identified and fix is implemented.
	 */
	if (mdata->mdp_rev == MDSS_MDP_HW_REV_103) {
		set_bit(0x6, mdata->mmb_alloc_map);
		set_bit(0x7, mdata->mmb_alloc_map);
	}

	/* disable hw underrun recovery */
	writel_relaxed(0x0, mdata->mdp_base +
			MDSS_MDP_REG_VIDEO_INTF_UNDERFLOW_CTL);