OSDN Git Service

drm/i915: Add calc_voltage_level display vfunc
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Sep 2019 15:42:50 +0000 (08:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 11 Sep 2019 03:37:03 +0000 (20:37 -0700)
commitd2f429ebb97725e9bec597aad2f0d2c7d203842f
tree6e4dc27cd50cf91cf3e04e91284fa14445698299
parent751a93a15cde277ada4e1be14d93eb13a0dc3edd
drm/i915: Add calc_voltage_level display vfunc

With all of the cdclk function consolidation, we can cut down on a lot
of platform if/else logic by creating a vfunc that's initialized at
startup.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190910154252.30503-7-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/i915_drv.h