diff --git a/drivers/video/msm/mdss/mdss_mdp_pipe.c b/drivers/video/msm/mdss/mdss_mdp_pipe.c index c68a01cd358..54e12f0f659 100644 --- a/drivers/video/msm/mdss/mdss_mdp_pipe.c +++ b/drivers/video/msm/mdss/mdss_mdp_pipe.c @@ -1077,7 +1077,7 @@ static int mdss_mdp_image_setup(struct mdss_mdp_pipe *pipe, pipe->mfd->panel_info->pdest == DISPLAY_1) dst_xy = ((pipe->mixer_left->height - (pipe->dst.y + pipe->dst.h)) << 16) | - pipe->dst.x; + (pipe->mixer->width - pipe->dst.x - pipe->dst.w); else dst_xy = (pipe->dst.y << 16) | pipe->dst.x; } else