]> asedeno.scripts.mit.edu Git - linux.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)
commitd492a29d8c93415f121e4b3d75c60c91e6da2570
tree438360be07b44d91982562512a0d7e4ff026e7ec
parentb7ffc4a839a553b07b34543684e79526f2ffecb8
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