aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRajendra Nayak <[email protected]>2019-03-06 09:37:26 +0530
committerRafael J. Wysocki <[email protected]>2019-03-11 11:17:26 +0100
commit55286a29389a1a30fb2ccc83ef9315809946b365 (patch)
treedc66bd65d0cdd9f3dc2af9a20e92b41ed5288367 /tools/perf/scripts/python/exported-sql-viewer.py
parentef8006846a3a97d9d8bf49e63dba948d0d2dbbf0 (diff)
OPP: Fix handling of multiple power domains
We seem to rely on the number of phandles specified in the 'required-opps' property to identify cases where a device is associated with multiple power domains and hence would have multiple virtual devices that have to be dealt with. In cases where we do have devices with multiple power domains but with only one of them being scalable, this logic seems to fail. Instead read the number of power domains from DT to identify such cases. Signed-off-by: Rajendra Nayak <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions