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

Commit ee6fa243 authored by Siddhartha Agrawal's avatar Siddhartha Agrawal
Browse files

msm: mdss: Fix incorrect fbc parameter bit offset



Fix bit offset for lossy RGB threshold in the lossy mode
FBC register. This fixes incorrect fbc parameters being set.

Change-Id: I5e772cc1a8244bad8a236dca561552c4eb516d98
Signed-off-by: default avatarSiddhartha Agrawal <agrawals@codeaurora.org>
parent f8314874
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1324,7 +1324,7 @@ static int mdss_mdp_ctl_fbc_enable(int enable,

		lossy_mode = ((fbc->lossless_mode_thd) << 16) |
			((fbc->lossy_mode_thd) << 8) |
			((fbc->lossy_rgb_thd) << 3) | fbc->lossy_mode_idx;
			((fbc->lossy_rgb_thd) << 4) | fbc->lossy_mode_idx;
	}

	mdss_mdp_pingpong_write(mixer, MDSS_MDP_REG_PP_FBC_MODE, mode);