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

Commit 662f5fce authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Fix under run on interlace clip play in landscape"

parents 33160f9e dbaaf80e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -570,11 +570,13 @@ static int mdss_mdp_overlay_pipe_setup(struct msm_fb_data_type *mfd,
	if ((pipe->flags & MDP_DEINTERLACE) && !pipe->scale.enable_pxl_ext) {
		if (pipe->flags & MDP_SOURCE_ROTATED_90) {
			pipe->src.x = DIV_ROUND_UP(pipe->src.x, 2);
			pipe->src.x &= ~1;
			pipe->src.w /= 2;
			pipe->img_width /= 2;
		} else {
			pipe->src.h /= 2;
			pipe->src.y = DIV_ROUND_UP(pipe->src.y, 2);
			pipe->src.y &= ~1;
		}
	}

+1 −0
Original line number Diff line number Diff line
@@ -442,6 +442,7 @@ int mdss_mdp_rotator_setup(struct msm_fb_data_type *mfd,
		rot->flags |= MDP_DEINTERLACE;
		rot->src_rect.h /= 2;
		rot->src_rect.y = DIV_ROUND_UP(rot->src_rect.y, 2);
		rot->src_rect.y &= ~1;
	}

	rot->dst = rot->src_rect;