Skip to content
Commit e2d96f27 authored by Md Golam Tanvir Zim's avatar Md Golam Tanvir Zim Committed by Mohamed Omar Asaker
Browse files

mod/power_distributor: Calculate power attributes for distribution



This patch calculates two power attributess, i.e. limits and demands
for power distribution. Traversing the breadth first tree bottom up,
this calculates the attribute of each domain based on
following calculation,

domain limit = min(children limit, own limit)
domain demand = max(children demand, own demand)

Signed-off-by: Md Golam Tanvir Zim's avatarMd Golam Tanvir Zim <mdgolamtanvir.zim@arm.com>
Change-Id: I4699891fa84438610323eb43c33b7fcd0683301a
parent a1559c56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment