drm/i915: s/get_display_clock_speed/get_cdclk/
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Feb 2017 18:31:46 +0000 (20:31 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2017 16:07:10 +0000 (18:07 +0200)
commitc49a0d054a054cc07f9ef4982a72e55a710e87d0
treea2997f6c3f0e11063d180d49bfc14b2bad1351d5
parent4e841ecd4e185af2c6353f6d4ef480fb1f533d8a
drm/i915: s/get_display_clock_speed/get_cdclk/

Rename the .get_display_clock_speed() hook to .get_cdclk().
.get_cdclk() is more specific (which clock) and it's much
shorter.

v2: Deal with IS_GEN9_BC()
v3: Deal with i945gm_get_display_clock_speed()

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/20170207183146.19420-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_runtime_pm.c