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

Commit 178cecbc authored by Lynus Vaz's avatar Lynus Vaz
Browse files

msm: camera: icp: Keep AHB vote at SVS



The device clocks can change independently of AHB levels. Since the
AHB level does not significantly affect performance, keep it at SVS
and vary the ICP device clocks as required.

Change-Id: I871eaad8cfbd245a7f90d679134c41883e185933
Signed-off-by: default avatarLynus Vaz <lvaz@codeaurora.org>
parent 4097ccbb
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -380,8 +380,8 @@ static int32_t cam_icp_ctx_timer(void *priv, void *data)
	ctx_data->clk_info.base_clk = 0;

	clk_update.ahb_vote.type = CAM_VOTE_DYNAMIC;
	clk_update.ahb_vote.vote.freq = clk_info->curr_clk;
	clk_update.ahb_vote_valid = true;
	clk_update.ahb_vote.vote.freq = 0;
	clk_update.ahb_vote_valid = false;
	clk_update.axi_vote.compressed_bw = clk_info->compressed_bw;
	clk_update.axi_vote.uncompressed_bw = clk_info->uncompressed_bw;
	clk_update.axi_vote_valid = true;
@@ -1018,8 +1018,8 @@ static int cam_icp_update_cpas_vote(struct cam_icp_hw_mgr *hw_mgr,
	}

	clk_update.ahb_vote.type = CAM_VOTE_DYNAMIC;
	clk_update.ahb_vote.vote.freq = clk_info->curr_clk;
	clk_update.ahb_vote_valid = true;
	clk_update.ahb_vote.vote.freq = 0;
	clk_update.ahb_vote_valid = false;
	clk_update.axi_vote.compressed_bw = clk_info->compressed_bw;
	clk_update.axi_vote.uncompressed_bw = clk_info->uncompressed_bw;
	clk_update.axi_vote_valid = true;