From 99bccb83f3d99a5c44b1401be46f071816f1a74e Mon Sep 17 00:00:00 2001 From: erikcas Date: Thu, 29 Jan 2015 20:01:53 +0100 Subject: [PATCH] eagle: fix the dancing menu's * M2 users should not have to chase menu's * rotation is much smoother now * @kholk @jerpelea can adapt this to the unified kernel * thanks to @galaxyfreak for simplifying original code Change-Id: I9ba1a09af764580d292cbd761fda4b5d13df2d96 --- drivers/video/msm/mdss/mdss_mdp_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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