]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f3051d1eb38a6079253cfe5255010b08916aff6
tree139fec5d7d9edcf044eea84089638a71651b6803
parent8e0ea5ca03d11813a33010f4674e71bd09becdbc
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