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

Commit 6235d0ab 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: always assign virtual address to cursor buffer"

parents cea11d42 ad2f67cc
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -3126,16 +3126,7 @@ int mdss_mdp_cursor_pipe_setup(struct msm_fb_data_type *mfd,
	pr_debug("req id:%d cursor_pipe:%d pnum:%d\n",
		req->id, cursor_pipe, pipe->ndx);

	if (mdata->mdss_util->iommu_attached()) {
	cursor_addr = mfd->cursor_buf_iova;
	} else {
		if (MDSS_LPAE_CHECK(mfd->cursor_buf_phys)) {
			pr_err("can't access phy mem >4GB w/o iommu\n");
			ret = -ERANGE;
			goto done;
		}
		cursor_addr = mfd->cursor_buf_phys;
	}

	buf = mdss_mdp_overlay_buf_alloc(mfd, pipe);
	if (!buf) {