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:
parent
c82110ccb6
commit
4e78ce2470
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue