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

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

Merge "mdss: mdp: fix linear format validation during perf check"

parents 4894be05 553db85c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;