msm: mdss: Clear the previous state of pipe during SOLID_FILL
Clear the previous state of pipe when it is being used in SOLID_FILL operation to prevent wrong register configuration. For ex: Use case when DMA pipe was used in BLOCK mode in previous frame, then it is being used in LINE mode for SOLID_FILL operation in current frame. CRs-Fixed: 655993 Change-Id: Ibe9ef6a819089d262ad7fa7b81773cc0c3d3d992 Signed-off-by: Sushil Chauhan <sushilchauhan@codeaurora.org>
This commit is contained in:
parent
8253e93230
commit
62a29d2870
1 changed files with 7 additions and 0 deletions
|
@ -1330,6 +1330,13 @@ static int mdss_mdp_pipe_solidfill_setup(struct mdss_mdp_pipe *pipe)
|
|||
pipe->bg_color);
|
||||
mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SSPP_SRC_UNPACK_PATTERN, unpack);
|
||||
mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SSPP_SRC_ADDR_SW_STATUS, secure);
|
||||
mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SSPP_SRC_OP_MODE, 0);
|
||||
|
||||
if (pipe->type != MDSS_MDP_PIPE_TYPE_DMA) {
|
||||
mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SCALE_CONFIG, 0);
|
||||
if (pipe->type == MDSS_MDP_PIPE_TYPE_VIG)
|
||||
mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_VIG_OP_MODE, 0);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue