OSDN Git Service

drm/i915/cnl: extract cnl_set_procmon_ref_values
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 22 Aug 2017 00:03:56 +0000 (17:03 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 22 Aug 2017 16:22:45 +0000 (09:22 -0700)
commitade5ee7ea55daab37a300374c73aceb3092ccdd6
tree6e555994fddc023ddd6f0ab8066c9e4c5dd83cd9
parente0b8acf35d3c4de3d9b4bde18169e0562d748c89
drm/i915/cnl: extract cnl_set_procmon_ref_values

Move the part that reads the table and sets registers based on the
table to its own function.

v2: Rebase.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170822000356.17330-2-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c