aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2016-07-12 21:36:08 +0200
committerBen Skeggs <[email protected]>2016-10-12 17:29:25 +1000
commit5e00e3263ba68bd32337063a43aa8467b27acd1d (patch)
tree57970a8bff5bebf7c47ac331d7906336c48ba455 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent4b9ce6e7b68683ac3874f9ebb243eb6f29c46812 (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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions