commit | 5af4ce7d81a5945ad11ca04a68e7f1febd67d59f | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Feb 14 09:17:47 2018 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Feb 14 12:02:44 2018 +0000 |
tree | 1395f74ce714f0e040aef83cd3e6ca598825b8c5 | |
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