]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Clean up cdclk vfunc assignments
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 May 2019 19:31:20 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Jun 2019 13:42:53 +0000 (16:42 +0300)
Thanks to using the short names for platoforms all the cdclk
vfunc assignemtns now fit within 80 cols. Remove the extra
line wraps.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190517193132.8140-2-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_cdclk.c

index 6e712fec925f723fb8507c38194306dd40c673cf..6988c6cbc362d0427d44d12c70266d28982aac54 100644 (file)
@@ -2801,28 +2801,22 @@ void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv)
                dev_priv->display.modeset_calc_cdclk = icl_modeset_calc_cdclk;
        } else if (IS_CANNONLAKE(dev_priv)) {
                dev_priv->display.set_cdclk = cnl_set_cdclk;
-               dev_priv->display.modeset_calc_cdclk =
-                       cnl_modeset_calc_cdclk;
+               dev_priv->display.modeset_calc_cdclk = cnl_modeset_calc_cdclk;
        } else if (IS_GEN9_LP(dev_priv)) {
                dev_priv->display.set_cdclk = bxt_set_cdclk;
-               dev_priv->display.modeset_calc_cdclk =
-                       bxt_modeset_calc_cdclk;
+               dev_priv->display.modeset_calc_cdclk = bxt_modeset_calc_cdclk;
        } else if (IS_GEN9_BC(dev_priv)) {
                dev_priv->display.set_cdclk = skl_set_cdclk;
-               dev_priv->display.modeset_calc_cdclk =
-                       skl_modeset_calc_cdclk;
+               dev_priv->display.modeset_calc_cdclk = skl_modeset_calc_cdclk;
        } else if (IS_BROADWELL(dev_priv)) {
                dev_priv->display.set_cdclk = bdw_set_cdclk;
-               dev_priv->display.modeset_calc_cdclk =
-                       bdw_modeset_calc_cdclk;
+               dev_priv->display.modeset_calc_cdclk = bdw_modeset_calc_cdclk;
        } else if (IS_CHERRYVIEW(dev_priv)) {
                dev_priv->display.set_cdclk = chv_set_cdclk;
-               dev_priv->display.modeset_calc_cdclk =
-                       vlv_modeset_calc_cdclk;
+               dev_priv->display.modeset_calc_cdclk = vlv_modeset_calc_cdclk;
        } else if (IS_VALLEYVIEW(dev_priv)) {
                dev_priv->display.set_cdclk = vlv_set_cdclk;
-               dev_priv->display.modeset_calc_cdclk =
-                       vlv_modeset_calc_cdclk;
+               dev_priv->display.modeset_calc_cdclk = vlv_modeset_calc_cdclk;
        }
 
        if (INTEL_GEN(dev_priv) >= 11)