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

Commit 2fc91239 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: msm_bus: Modify IB aggregation at master"

parents a07d5599 b3c3c96d
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -299,12 +299,16 @@ static int getpath(int src, int dest)

static uint64_t get_node_maxib(struct msm_bus_inode_info *info)
{
	int i;
	int i, ctx;
	uint64_t maxib = 0;

	for (i = 0; i <= info->num_pnodes; i++)
		maxib = max(*info->pnode[i].sel_clk, maxib);
	for (i = 0; i <= info->num_pnodes; i++) {
		for (ctx = 0; ctx < NUM_CTX; ctx++)
			maxib = max(info->pnode[i].clk[ctx], maxib);
	}

	MSM_BUS_DBG("%s: Node %d numpnodes %d maxib %llu", __func__,
		info->num_pnodes, info->node_info->id, maxib);
	return maxib;
}