drm/i915: Move PFI credit reprogramming into vlv/chv_set_cdclk()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Jan 2017 19:57:19 +0000 (21:57 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2017 16:07:10 +0000 (18:07 +0200)
commit1a5301a58e5fca15598a1b3e79706b522d763574
tree139fec5d7d9edcf044eea84089638a71651b6803
parent83c5fda74f98307a19189414889363341ede8067
drm/i915: Move PFI credit reprogramming into vlv/chv_set_cdclk()

Move the vlv_program_pfi_credits() into vlv_set_cdclk() and
chv_set_cdclk() so that we can neuter vlv_modeset_commit_cdclk().

v2: Do the PFI programming after cdclk readout since it currently
    depends on the readout to fill dev_priv->cdclk.hw

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170126195719.309-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_cdclk.c