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

Commit e6e360ca 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: Ensure mdp splash cleanup before initiating rotation request"

parents 59d68272 ba7ba4ea
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2159,6 +2159,12 @@ static int mdss_rotator_handle_request(struct mdss_rot_mgr *mgr,
	struct mdss_rot_entry_container *req = NULL;
	int size, ret;
	uint32_t req_count;
	struct mdss_data_type *mdata = mdss_mdp_get_mdata();

	if (mdata->handoff_pending) {
		pr_err("Rotator request failed. Handoff pending\n");
		return -EPERM;
	}

	if (mdss_get_sd_client_cnt()) {
		pr_err("rot request not permitted during secure display session\n");