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

Commit d3d0440c authored by Narendra Muppalla's avatar Narendra Muppalla
Browse files

drm/msm/sde: set VBIF Amem type during rotator hw config



Program vbif Amem type during rotator hw config as clk ctrl
might be still on during gdsc toggle which will reset the register.

Change-Id: I199c345d2f9a7ea084f5dc63ddeed69fee091003
Signed-off-by: default avatarKalyan Thota <kalyant@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 9956996a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -418,9 +418,6 @@ int sde_rotator_clk_ctrl(struct sde_rot_mgr *mgr, int enable)
			if (ret)
				goto error_rot_sub;

			/* reinitialize static vbif setting */
			sde_mdp_init_vbif();

			/* Active+Sleep */
			msm_bus_scale_client_update_context(
				mgr->data_bus.bus_hdl, false,
+3 −0
Original line number Diff line number Diff line
@@ -2795,6 +2795,9 @@ static int sde_hw_rotator_config(struct sde_rot_hw_resource *hw,
			item->input.format, item->output.format,
			entry->perf->config.frame_rate);

	/* initialize static vbif setting */
	sde_mdp_init_vbif();

	if (!ctx->sbuf_mode && mdata->default_ot_rd_limit) {
		struct sde_mdp_set_ot_params ot_params;