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

Commit 6cefd2ff authored by Sachin Bhayare's avatar Sachin Bhayare
Browse files

msm: mdss: allocate buffer using mmap call in recovery mode for MSM8909w



smem_start and size should not be initialize as part of cont-splash-memory
blob parsing. It avoids frame buffer allocation during mmap request.

Fix issue by removing smem parameter initialization in mdp3_parse_dt_splash
function.

Change-Id: I54c0871f456390e5f59ef37b240d69b9d213e012
Signed-off-by: default avatarSachin Bhayare <sachin.bhayare@codeaurora.org>
parent 85b7eb8a
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -2087,11 +2087,8 @@ __ref int mdp3_parse_dt_splash(struct msm_fb_data_type *mfd)
		goto error;
	}

	mfd->fbi->fix.smem_start = offsets[0];
	mfd->fbi->fix.smem_len = offsets[1];
	mdp3_res->splash_mem_addr = mfd->fbi->fix.smem_start;
	mdp3_res->splash_mem_size = mfd->fbi->fix.smem_len;

	mdp3_res->splash_mem_addr = offsets[0];
	mdp3_res->splash_mem_size = offsets[1];
error:
	if (rc && mfd->panel_info->cont_splash_enabled)
		pr_err("no rsvd mem found in DT for splash screen\n");