diff options
author | Dave Gerlach <[email protected]> | 2016-09-23 15:07:47 -0500 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-09-26 15:13:31 +0200 |
commit | a4ee4545932d4b26ec0c190f2ce265de79990c7a (patch) | |
tree | a155c293f5c7faf7e5f26ce032df2a4a2ace89ab /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 4df27c91893fd13eaa30e9b0bca74f317816f428 (diff) |
PM / OPP: Don't support OPP if it provides supported-hw but platform does not
The OPP framework allows each OPP to set a opp-supported-hw property
which provides values that are matched against supported_hw values
provided by the platform to limit support for certain OPPs on specific
hardware. Currently, if the platform does not set supported_hw values,
all OPPs are interpreted as supported, even if they have provided their
own opp-supported-hw values.
If an OPP has provided opp-supported-hw, it is indicating that there is
some specific hardware configuration it is supported by. These constraints
should be honored, and if no supported_hw has been provided by the
platform, there is no way to determine if that OPP is actually supported,
so it should be marked as not supported.
Signed-off-by: Dave Gerlach <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions