]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Rename skl_wa_clkgating to the actual WA
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Sat, 30 Mar 2019 01:19:19 +0000 (18:19 -0700)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Apr 2019 07:22:11 +0000 (10:22 +0300)
No functional change. Renaming the function to reflect the specific WA.

Suggested-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190330011921.10397-1-radhakrishna.sripada@intel.com
drivers/gpu/drm/i915/intel_display.c

index f29a348e8d71ba490a9d8eb6162297e346fcdd33..bf8565b98e44a2e3e7277891a131f7c0fde544cd 100644 (file)
@@ -477,7 +477,7 @@ static const struct intel_limit intel_limits_bxt = {
 };
 
 static void
-skl_wa_clkgate(struct drm_i915_private *dev_priv, int pipe, bool enable)
+skl_wa_827(struct drm_i915_private *dev_priv, int pipe, bool enable)
 {
        if (enable)
                I915_WRITE(CLKGATE_DIS_PSL(pipe),
@@ -5540,7 +5540,7 @@ static void intel_post_plane_update(struct intel_crtc_state *old_crtc_state)
        /* Display WA 827 */
        if (needs_nv12_wa(dev_priv, old_crtc_state) &&
            !needs_nv12_wa(dev_priv, pipe_config)) {
-               skl_wa_clkgate(dev_priv, crtc->pipe, false);
+               skl_wa_827(dev_priv, crtc->pipe, false);
        }
 }
 
@@ -5579,7 +5579,7 @@ static void intel_pre_plane_update(struct intel_crtc_state *old_crtc_state,
        /* Display WA 827 */
        if (!needs_nv12_wa(dev_priv, old_crtc_state) &&
            needs_nv12_wa(dev_priv, pipe_config)) {
-               skl_wa_clkgate(dev_priv, crtc->pipe, true);
+               skl_wa_827(dev_priv, crtc->pipe, true);
        }
 
        /*