commit | f59862422d6cf4980a6bad23a2e53c25273b9c63 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri May 13 23:41:37 2016 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon May 23 21:11:16 2016 +0300 |
tree | 15f5546f7d4afaeb11aa8671eb231168a567e36b | |
parent | 089c6fd503b050eb9996e02e8675dfabb48e51e8 [diff] |
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>