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

Commit 5fc98301 authored by Sachin Bhayare's avatar Sachin Bhayare Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: restore ROI update after idle power collapse



IOMMU faults were seen during idle power collapse recovery, when
ROI was not full screen in last update before idle.

Fix issue by reconfiguring DAM size based on ROI used in last update.

Change-Id: I94f914155b3fdc6fd29529ef7abafc0035989873
Signed-off-by: default avatarSachin Bhayare <sachin.bhayare@codeaurora.org>
parent 07d8533b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1628,6 +1628,9 @@ static int mdp3_ctrl_display_commit_kickoff(struct msm_fb_data_type *mfd,
			mutex_unlock(&mdp3_res->fs_idle_pc_lock);
			return -EINVAL;
		}
		if ((mdp3_session->dma->roi.x || mdp3_session->dma->roi.y) &&
			panel_info->partial_update_enabled)
			mdp3_session->dma->update_src_cfg = true;
	}
	mutex_unlock(&mdp3_res->fs_idle_pc_lock);