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: Adrian Salido-Moreno <adrianm@codeaurora.org>
This commit is contained in:
Adrian Salido-Moreno 2016-05-03 13:23:31 -07:00 committed by Jeevan Shriram
parent c82110ccb6
commit 4e78ce2470

View file

@ -2632,6 +2632,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);
@ -3173,8 +3175,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;
}