[Intel-gfx] [PATCH 1/2] drm/i915: Use DIV_ROUND_CLOSEST() to calculate dot/vco

2013-10-14 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Rounding down when calculating the dot/vco frequencies doesn't make much sense. Round to closest should give slightly nicer answers. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/i915/intel_display.c | 12

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Use DIV_ROUND_CLOSEST() to calculate dot/vco

2013-10-14 Thread Jesse Barnes
On Mon, 14 Oct 2013 14:50:30 +0300 ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä ville.syrj...@linux.intel.com Rounding down when calculating the dot/vco frequencies doesn't make much sense. Round to closest should give slightly nicer answers. Signed-off-by: Ville Syrjälä