diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-14 09:17:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-14 12:02:44 +0000 |
commit | 5af4ce7d81a5945ad11ca04a68e7f1febd67d59f (patch) | |
tree | 1395f74ce714f0e040aef83cd3e6ca598825b8c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e9a744fa60f7d87fc108012005ca6811686f9e17 (diff) |
drm/i915/panel: Split range scaling calculation for readiblity
Split the 64b multiplication from the division so that it doesn't sprawl
across a couple of lines and use mul_u32_u32() instead of open-coding
the 64b conversion.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214091747.12753-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions