Loading drivers/video/msm/mdss/mdss_mdp_overlay.c +6 −8 Original line number Diff line number Diff line Loading @@ -359,7 +359,8 @@ int mdss_mdp_overlay_req_check(struct msm_fb_data_type *mfd, } } if (req->flags & MDP_DEINTERLACE) { if ((req->flags & MDP_DEINTERLACE) && !req->scale.enable_pxl_ext) { if (req->flags & MDP_SOURCE_ROTATED_90) { if ((req->src_rect.w % 4) != 0) { pr_err("interlaced rect not h/4\n"); Loading Loading @@ -864,16 +865,13 @@ int mdss_mdp_overlay_pipe_setup(struct msm_fb_data_type *mfd, * When scaling is enabled src crop and image * width and height is modified by user */ if ((pipe->flags & MDP_DEINTERLACE)) { 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; if (!pipe->scale.enable_pxl_ext) { pipe->src.w /= 2; pipe->img_width /= 2; } } else { if (!pipe->scale.enable_pxl_ext) pipe->src.h /= 2; pipe->src.y = DIV_ROUND_UP(pipe->src.y, 2); pipe->src.y &= ~1; Loading Loading
drivers/video/msm/mdss/mdss_mdp_overlay.c +6 −8 Original line number Diff line number Diff line Loading @@ -359,7 +359,8 @@ int mdss_mdp_overlay_req_check(struct msm_fb_data_type *mfd, } } if (req->flags & MDP_DEINTERLACE) { if ((req->flags & MDP_DEINTERLACE) && !req->scale.enable_pxl_ext) { if (req->flags & MDP_SOURCE_ROTATED_90) { if ((req->src_rect.w % 4) != 0) { pr_err("interlaced rect not h/4\n"); Loading Loading @@ -864,16 +865,13 @@ int mdss_mdp_overlay_pipe_setup(struct msm_fb_data_type *mfd, * When scaling is enabled src crop and image * width and height is modified by user */ if ((pipe->flags & MDP_DEINTERLACE)) { 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; if (!pipe->scale.enable_pxl_ext) { pipe->src.w /= 2; pipe->img_width /= 2; } } else { if (!pipe->scale.enable_pxl_ext) pipe->src.h /= 2; pipe->src.y = DIV_ROUND_UP(pipe->src.y, 2); pipe->src.y &= ~1; Loading