Re: [Intel-gfx] [PATCH 1/2] drm/i915: Use mul_u32_u32() more

2019-04-10 Thread Ville Syrjälä
On Mon, Apr 08, 2019 at 04:44:04PM +0100, Chris Wilson wrote: > Quoting Ville Syrjala (2019-04-08 16:27:01) > > From: Ville Syrjälä > > > > 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. > > > >

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Use mul_u32_u32() more

2019-04-08 Thread Chris Wilson
Quoting Ville Syrjala (2019-04-08 16:27:01) > From: Ville Syrjälä > > 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ä As a purely mechanical translation, Reviewed-by

[Intel-gfx] [PATCH 1/2] drm/i915: Use mul_u32_u32() more

2019-04-08 Thread Ville Syrjala
From: Ville Syrjälä 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ä --- drivers/gpu/drm/i915/i915_fixed.h | 6 +++--- drivers/gpu/drm/i915/intel_display.c | 10 +--