Loading drivers/video/msm/mdss/mdp3_ppp.c +12 −0 Original line number Diff line number Diff line Loading @@ -1467,6 +1467,18 @@ static bool is_blit_optimization_possible(struct blit_req_list *req, int indx) (!(fg_req.flags & (MDP_ROT_90))) && (dst_roi_equal) && (!(check_if_rgb(bg_req.src.format))) && (!(hw_woraround_active))) { /* * Disable SMART blit for BG(YUV) layer when * Scaling on BG layer * Rotation on BG layer * UD flip on BG layer */ if ((is_scaling_needed(bg_req)) && ( bg_req.flags & MDP_ROT_90) && (bg_req.flags & MDP_FLIP_UD)) { pr_debug("YUV layer with ROT+UD_FLIP+Scaling Not supported\n"); return false; } /* * swap blit requests at index 0 and 1. YUV layer at * index 0 is replaced with UI layer request present Loading Loading
drivers/video/msm/mdss/mdp3_ppp.c +12 −0 Original line number Diff line number Diff line Loading @@ -1467,6 +1467,18 @@ static bool is_blit_optimization_possible(struct blit_req_list *req, int indx) (!(fg_req.flags & (MDP_ROT_90))) && (dst_roi_equal) && (!(check_if_rgb(bg_req.src.format))) && (!(hw_woraround_active))) { /* * Disable SMART blit for BG(YUV) layer when * Scaling on BG layer * Rotation on BG layer * UD flip on BG layer */ if ((is_scaling_needed(bg_req)) && ( bg_req.flags & MDP_ROT_90) && (bg_req.flags & MDP_FLIP_UD)) { pr_debug("YUV layer with ROT+UD_FLIP+Scaling Not supported\n"); return false; } /* * swap blit requests at index 0 and 1. YUV layer at * index 0 is replaced with UI layer request present Loading