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

Commit 14babb01 authored by Chinmay Sawarkar's avatar Chinmay Sawarkar
Browse files

msm: vidc: Scale bus bw along with venus clocks



Scaling of Bus BW and Venus Clocks should go together.
Otherwise the benefits of reducing voltage corner will be
nullified, since VMEM vote remains high.

CRs-Fixed: 1083761
Change-Id: Ib38ecabb3c4bf40fcf5ad368fbbdbe4c44edbf3b
Signed-off-by: default avatarChinmay Sawarkar <chinmays@codeaurora.org>
parent bcd8ec92
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3688,6 +3688,10 @@ static void log_frame(struct msm_vidc_inst *inst, struct vidc_frame_data *data,
		if (msm_comm_scale_clocks(inst->core))
			dprintk(VIDC_WARN,
				"Failed to scale clocks. Performance might be impacted\n");

	if (msm_comm_vote_bus(inst->core))
		dprintk(VIDC_WARN,
			"Failed to scale bus. Performance might be impacted\n");
}

static int request_seq_header(struct msm_vidc_inst *inst,