msm: mdss: Prevent QSEED scaling on VIG pipe with RGB data
When the VIG source side pipes are reconfigured from YUV to RGB data, the sharpening/smoothing QSEED block is sometimes still enabled, but it is only allowed for YUV data. This change adds a specific check if the source format is YUV before proceeding with sharpening/smoothing enable. Change-Id: I5ba39f6910bb41eaed898726c9c1419699371784 Signed-off-by: Benet Clark <benetc@codeaurora.org>
This commit is contained in:
parent
aa5020f2af
commit
19ac09fff8
1 changed files with 4 additions and 2 deletions
|
@ -1021,7 +1021,8 @@ static int mdss_mdp_scale_setup(struct mdss_mdp_pipe *pipe)
|
|||
}
|
||||
|
||||
if ((src_h != pipe->dst.h) ||
|
||||
(pipe->pp_res.pp_sts.sharp_sts & PP_STS_ENABLE) ||
|
||||
(pipe->src_fmt->is_yuv &&
|
||||
(pipe->pp_res.pp_sts.sharp_sts & PP_STS_ENABLE)) ||
|
||||
(chroma_sample == MDSS_MDP_CHROMA_420) ||
|
||||
(chroma_sample == MDSS_MDP_CHROMA_H1V2) ||
|
||||
(pipe->scale.enable_pxl_ext && (src_h != pipe->dst.h))) {
|
||||
|
@ -1077,7 +1078,8 @@ static int mdss_mdp_scale_setup(struct mdss_mdp_pipe *pipe)
|
|||
}
|
||||
|
||||
if ((src_w != pipe->dst.w) ||
|
||||
(pipe->pp_res.pp_sts.sharp_sts & PP_STS_ENABLE) ||
|
||||
(pipe->src_fmt->is_yuv &&
|
||||
(pipe->pp_res.pp_sts.sharp_sts & PP_STS_ENABLE)) ||
|
||||
(chroma_sample == MDSS_MDP_CHROMA_420) ||
|
||||
(chroma_sample == MDSS_MDP_CHROMA_H2V1) ||
|
||||
(pipe->scale.enable_pxl_ext && (src_w != pipe->dst.w))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue