drm/i915: Use g4x_get_aux_clock_divider() for VLV/CHV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 Mar 2016 15:22:15 +0000 (17:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Mar 2016 12:43:43 +0000 (14:43 +0200)
commit193709c1c4d2543eac5d49428db732837ebcf61f
tree5df0c1067a775be91d45d72eb506be976ec19a28
parent6ffb1be708ccbefc1a833b3d7d186eefbcf5f12e
drm/i915: Use g4x_get_aux_clock_divider() for VLV/CHV

With the hrawclk frequency cached in dev_priv, we can simply use
g4x_get_aux_clock_divider() for VLV/CHV.

v2: Rebase due to IS_VALLYVIEW vs. IS_CHERRYVIEW split

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456932138-14004-4-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c