Re: [Intel-gfx] [PATCH 4/6] drm/i915: Make the LPT iclkip 20MHz case more generic

2016-02-19 Thread Imre Deak
On ke, 2016-02-17 at 21:41 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The reason for spcial casing 20MHz in the iclkip calculations is that > it would overflow the 7 bit divisor value. Let's rewrite the special > case to check for just that, and bump up auxdiv when need

Re: [Intel-gfx] [PATCH 4/6] drm/i915: Make the LPT iclkip 20MHz case more generic

2016-02-19 Thread Zanoni, Paulo R
Em Qua, 2016-02-17 às 21:41 +0200, ville.syrj...@linux.intel.com escreveu: > From: Ville Syrjälä > > The reason for spcial casing 20MHz in the iclkip calculations is that > it would overflow the 7 bit divisor value. Let's rewrite the special > case to check for just that, and bump up auxdiv when

[Intel-gfx] [PATCH 4/6] drm/i915: Make the LPT iclkip 20MHz case more generic

2016-02-17 Thread ville . syrjala
From: Ville Syrjälä The reason for spcial casing 20MHz in the iclkip calculations is that it would overflow the 7 bit divisor value. Let's rewrite the special case to check for just that, and bump up auxdiv when needed. This makes the code work for freqeuencies close to but not exactly 20MHz. The