drm/i915/skl: Update the cached CDCLK at the end of set_cdclk()
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 4 Jun 2015 17:21:33 +0000 (18:21 +0100)
committerJani Nikula <jani.nikula@intel.com>
Fri, 12 Jun 2015 10:14:37 +0000 (13:14 +0300)
commit560a7ae4b6f679927876b0dfcc1fcdfabdd20684
treec6a0969df2dd2a39cbcbd0497910e8db08c0f49b
parentd9062ae59de1025bdd15988a4030d6e667c389d0
drm/i915/skl: Update the cached CDCLK at the end of set_cdclk()

Ville's and Mika's cdclk series was in flight at the same time as the
SKL S3 patches so we were missing that update.

intel_update_max_cdclk() and intel_update_cdclk() had to be moved up a
bit to avoid forward declarations.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c