From: Imre Deak Date: Mon, 22 Jun 2015 20:35:51 +0000 (+0300) Subject: drm/i915: calculate the port clock rate along with other PLL params X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dccbea3b0704c77c5bbd9e5e9240d6eb253d2565;p=pandora-kernel.git drm/i915: calculate the port clock rate along with other PLL params Depending on the platform the port clock fed to the pipe can be the PLL's post-divided fast clock rate or a /5 divided version of it. To make this more obvious across the platforms calculate this port clock along with the rest of the PLL parameters. This is also needed by the next patch where we can reuse the CHV helper for the BXT PLL HW readout code; so export the corresponding helper. While at it also add a more descriptive name to the helpers and a comment explaining what's being calculated. No functional change. Suggested-by: Ville Syrjälä Signed-off-by: Imre Deak Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed