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

Commit ac1626fd authored by Dhaval Patel's avatar Dhaval Patel
Browse files

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: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent 0b5fe757
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2812,7 +2812,8 @@ int mdss_mdp_ctl_addr_setup(struct mdss_data_type *mdata,
		head[i].num = i;
		head[i].base = (mdata->mdss_io.base) + ctl_offsets[i];
		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;
	}