diff options
author | Karol Herbst <[email protected]> | 2016-07-12 21:36:08 +0200 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2016-10-12 17:29:25 +1000 |
commit | 5e00e3263ba68bd32337063a43aa8467b27acd1d (patch) | |
tree | 57970a8bff5bebf7c47ac331d7906336c48ba455 /tools/perf/scripts/python/netdev-times.py | |
parent | 4b9ce6e7b68683ac3874f9ebb243eb6f29c46812 (diff) |
drm/nouveau/volt: Don't require perfect fit
If we calculate the voltage in the table right, we get all kinds of values,
which never fit the hardware steps, so we use the closest higher value the
hardware can do.
v3: Simplify the implementation.
v5: Initialize best_err with volt->max_uv.
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions