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

Commit 076d181b authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: fix wb format enumeration



Enumeration for writeback is not properly done because not all
information from device tree has been retrieved before setting up
supported formats. Moved this call until all data has been retrieved
from device tree and hw pre initialization.

Change-Id: Id228bf7ec564669fa8e9e739e27052de0133cc4d
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent ce015ce1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2682,6 +2682,8 @@ static int mdss_mdp_probe(struct platform_device *pdev)
	if (rc)
		pr_err("mdss smmu init failed\n");

	mdss_mdp_set_supported_formats(mdata);

	mdss_res->mdss_util->mdp_probe_done = true;

	mdss_hw_init(mdata);
@@ -3223,8 +3225,6 @@ static int mdss_mdp_parse_dt_pipe(struct platform_device *pdev)
			data[0], data[1], data[2], data[3]);
	}

	mdss_mdp_set_supported_formats(mdata);

parse_fail:
	return rc;
}