Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 509801cd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Clear PP pipe resources before copying new userspace config"

parents c31e7961 dc5ff9ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -892,6 +892,7 @@ int mdss_mdp_overlay_pipe_setup(struct msm_fb_data_type *mfd,
	if (pipe->type == MDSS_MDP_PIPE_TYPE_CURSOR)
		goto cursor_done;

	mdss_mdp_pipe_sspp_term(pipe);
	if (pipe->flags & MDP_OVERLAY_PP_CFG_EN) {
		memcpy(&pipe->pp_cfg, &req->overlay_pp_cfg,
					sizeof(struct mdp_overlay_pp_params));