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

Commit 7b9d4225 authored by Ajay Singh Parmar's avatar Ajay Singh Parmar Committed by Stephen Boyd
Browse files

msm_fb: display: Remove unnecessary dtv_pipe checks



In case of PAN display, PAN update function would return
without allocating dtv pipe resulting in no HDMI display.
This change removes unnecessary checks and enable dtv pipe
for PAN display as well.

CRs-Fixed: 379625
Change-Id: I533392a1120a21e962fbbbf0c07a89997832406f
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent 8fe36cba
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -698,11 +698,7 @@ void mdp4_dtv_overlay(struct msm_fb_data_type *mfd)
	struct mdp4_overlay_pipe *pipe;
	if (!mfd->panel_power_on)
		return;
	if (!dtv_pipe) {
		pr_debug("%s: no mixer1 base layer pipe allocated!\n",
			 __func__);
		return;
	}

	mutex_lock(&mfd->dma->ov_mutex);
	if (dtv_pipe == NULL) {
		if (mdp4_overlay_dtv_set(mfd, NULL)) {