Re: [Intel-gfx] [PATCH 06/11] drm/i915: Add intel_dotclock_calculate()

2013-09-13 Thread Ville Syrjälä
On Fri, Sep 13, 2013 at 03:30:51PM +0300, Jani Nikula wrote: > On Fri, 06 Sep 2013, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Extract the code to calculate the dotclock from the link clock and M/N > > values into a new function from ironlake_crtc_clock_get(). > > > > The

Re: [Intel-gfx] [PATCH 06/11] drm/i915: Add intel_dotclock_calculate()

2013-09-13 Thread Jani Nikula
On Fri, 06 Sep 2013, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Extract the code to calculate the dotclock from the link clock and M/N > values into a new function from ironlake_crtc_clock_get(). > > The new function can be used to calculate the dotclock for both FDI and > DP c

[Intel-gfx] [PATCH 06/11] drm/i915: Add intel_dotclock_calculate()

2013-09-06 Thread ville . syrjala
From: Ville Syrjälä Extract the code to calculate the dotclock from the link clock and M/N values into a new function from ironlake_crtc_clock_get(). The new function can be used to calculate the dotclock for both FDI and DP cases. Also simplify the code a bit along the way. Signed-off-by: Vil