]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use mul_u32_u32() more
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Apr 2019 15:27:01 +0000 (18:27 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 May 2019 17:09:51 +0000 (20:09 +0300)
commit921adaac29451b8ddfd2f24b7cdea0ab0cff5e34
tree438360be07b44d91982562512a0d7e4ff026e7ec
parentba4aced452ac222356aa53468ac774fd42b4f73a
drm/i915: Use mul_u32_u32() more

We have a lot of '(u64)foo * bar' everywhere. Replace with
mul_u32_u32() to avoid gcc failing to use a regular 32x32->64
multiply for this.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190408152702.4153-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_fixed.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_pm.c