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

Commit 57a1adc2 authored by Xipeng Gu's avatar Xipeng Gu
Browse files

mdss: ppp: remove equal sign of ppp blit



MAX_BLIT_REQ is 16, remove equal sign to reach max blit layers.

Change-Id: Ide06902adf54fbdf77c98c9112794ea1a60c7053
Signed-off-by: default avatarXipeng Gu <guxipeng@codeaurora.org>
CRs-fixed: 2204649
parent dab1ac3b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -408,7 +408,7 @@ static int mdp3_ctrl_async_blit_req(struct msm_fb_data_type *mfd,
		return -EFAULT;
	p_req = p + sizeof(req_list_header);
	count = req_list_header.count;
	if (count < 0 || count >= MAX_BLIT_REQ)
	if (count < 0 || count > MAX_BLIT_REQ)
		return -EINVAL;
	rc = mdp3_ppp_parse_req(p_req, &req_list_header, 1);
	if (!rc)
@@ -427,7 +427,7 @@ static int mdp3_ctrl_blit_req(struct msm_fb_data_type *mfd, void __user *p)
		return -EFAULT;
	p_req = p + sizeof(struct mdp_blit_req_list);
	count = req_list_header.count;
	if (count < 0 || count >= MAX_BLIT_REQ)
	if (count < 0 || count > MAX_BLIT_REQ)
		return -EINVAL;
	req_list_header.sync.acq_fen_fd_cnt = 0;
	rc = mdp3_ppp_parse_req(p_req, &req_list_header, 0);