]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rewrite broxton_get_display_clock_speed() in terms of the DE PLL vco/refclk
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 May 2016 20:41:37 +0000 (23:41 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 May 2016 18:11:16 +0000 (21:11 +0300)
commita69660d4cf3da708f658b36358084fcc1b20165f
tree15f5546f7d4afaeb11aa8671eb231168a567e36b
parente652c3befa06180aa10727243e8a9952da3f8692
drm/i915: Rewrite broxton_get_display_clock_speed() in terms of the DE PLL vco/refclk

Now that we've read out the DE PLL vco and refclk, we can just use them
in the cdclk calculation. While at it switch over to
DIV_ROUND_CLOSEST().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463172100-24715-19-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_display.c