drm/i915: Pass the cdclk state to the set_cdclk() functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 20 Jan 2017 18:22:01 +0000 (20:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2017 16:07:10 +0000 (18:07 +0200)
commit83c5fda74f98307a19189414889363341ede8067
treecf51ccbd9af87110d90e84f7b4718ac84c4c277c
parent3d5dbb10f34ad0521bfb7091bd5b47f6c984b9aa
drm/i915: Pass the cdclk state to the set_cdclk() functions

Rather than passing all the different parameters (cdclk,vco so
far) sparately to the set_cdclk() functions, just pass the
entire cdclk state.

v2: Deal with churn
v3: Drop the usless .ref assignment (Ander)

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/20170120182205.8141-11-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_cdclk.c