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

Commit bd1bb0af authored by Anusha Koduru's avatar Anusha Koduru
Browse files

msm: mdss: Round off decimated height



Round off the decimated height when writing into
pixel extension registers.

Change-Id: Iab37370b8c8648c8b057aec5fe12326659ea9c0a
Signed-off-by: default avatarAnusha Koduru <kanusha@codeaurora.org>
parent 9f22bceb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1739,7 +1739,7 @@ int mdss_mdp_pipe_is_staged(struct mdss_mdp_pipe *pipe)
static inline void __mdss_mdp_pipe_program_pixel_extn_helper(
	struct mdss_mdp_pipe *pipe, u32 plane, u32 off)
{
	u32 src_h = pipe->src.h >> pipe->vert_deci;
	u32 src_h = (pipe->src.h + (1 << pipe->vert_deci) - 1) >> pipe->vert_deci;
	u32 mask = 0xFF;

	/*