Re: [Intel-gfx] [PATCH 19/21] drm/i915: Make bxt_set_cdclk() operate in terms of the current vs target DE PLL vco

2016-05-19 Thread Imre Deak
On Fri, 2016-05-13 at 23:41 +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Make bxt_set_cdclk() more readable by looking at current vs. target > DE PLL vco to determine if the DE PLL needs disabling and/or enabling. > We can also calculate

[Intel-gfx] [PATCH 19/21] drm/i915: Make bxt_set_cdclk() operate in terms of the current vs target DE PLL vco

2016-05-13 Thread ville . syrjala
From: Ville Syrjälä Make bxt_set_cdclk() more readable by looking at current vs. target DE PLL vco to determine if the DE PLL needs disabling and/or enabling. We can also calculate the CD2X divider simply as (vco/cdclk) instead of depending on magic numbers. The