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

Commit af1718f4 authored by Kalyan Thota's avatar Kalyan Thota
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>
parent 22249d49
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -417,9 +417,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,
+4 −1
Original line number Diff line number Diff line
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -2714,6 +2714,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;