msm: mdss: fix writeback offset configuration in ctl path
Invalid writeback offset setting in control path causes wrong WB output selection. This change fixes it with correct offset configuration. Change-Id: I9cca97d6e1241e2eba76a41d46b5fb5641fee948 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
parent
267be03381
commit
274699d156
1 changed files with 2 additions and 1 deletions
|
@ -2813,7 +2813,8 @@ int mdss_mdp_ctl_addr_setup(struct mdss_data_type *mdata,
|
||||||
head[i].num = i;
|
head[i].num = i;
|
||||||
head[i].base = (mdata->mdss_io.base) + ctl_offsets[i];
|
head[i].base = (mdata->mdss_io.base) + ctl_offsets[i];
|
||||||
if (i >= offset && wb_offsets[i - offset])
|
if (i >= offset && wb_offsets[i - offset])
|
||||||
head[i].wb_base = (mdata->mdss_io.base) + wb_offsets[i];
|
head[i].wb_base = (mdata->mdss_io.base) +
|
||||||
|
wb_offsets[i - offset];
|
||||||
head[i].ref_cnt = 0;
|
head[i].ref_cnt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue