drm/i915/icl: implement DVFS for ICL
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 14 Jun 2018 22:10:17 +0000 (15:10 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 15 Jun 2018 22:06:00 +0000 (15:06 -0700)
commit9378985eb05c486b32a61b69945df3297c6e854d
treed45cdc90be600dcbc6f8adb6e612c7fd807b9224
parent1c0f1b3db7a647ef8962fb4186105e91710a3ade
drm/i915/icl: implement DVFS for ICL

ICL DVFS is almost the same as CNL, except for the CDCLK/DDICLK
table. Implement it just like CNL does.

References: commit 48469eced282 ("drm/i915: Use cdclk_state->voltage
 on CNL")
References: commit 53e9bf5e8159 ("drm/i915: Adjust system agent
 voltage on CNL if required by DDI ports")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180614221018.19044-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_cdclk.c
drivers/gpu/drm/i915/intel_ddi.c