diff options
author | Dhaval Patel <pdhaval@codeaurora.org> | 2015-08-28 12:50:18 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:45:20 -0700 |
commit | 559d29938bf6aa7c377f967195b89f6775dc8491 (patch) | |
tree | 3ba8d6554f569ef5ba87243176b7cfcf161e595c /drivers/video | |
parent | 4c8199537e43f7bdb6f8013e5edf001837c7c3d7 (diff) |
mdss: mdp: fix linear format validation during perf check
Fix linear format validation check during perf check
which happens during atomic validation stage. Current
invalid check may lead to perf validation failure and
switch to GPU composition.
Change-Id: Ie1782de2f770de9e10e9b25ad1914405402c2f5d
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_overlay.c b/drivers/video/fbdev/msm/mdss_mdp_overlay.c index 6692d2834053..c39429a4a7df 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_overlay.c +++ b/drivers/video/fbdev/msm/mdss_mdp_overlay.c @@ -425,7 +425,7 @@ int mdp_pipe_tune_perf(struct mdss_mdp_pipe *pipe, */ if (mdata->has_decimation && (pipe->vert_deci < MAX_DECIMATION) && !pipe->bwc_mode && !pipe->scale.enable_pxl_ext && - (pipe->src_fmt == MDSS_MDP_FETCH_LINEAR)) + mdss_mdp_is_linear_format(pipe->src_fmt)) pipe->vert_deci++; else return -E2BIG; |