drm/i915/display: Settle on "adl-x" in WA comments
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 13 Jul 2021 00:38:49 +0000 (17:38 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 13 Jul 2021 17:05:51 +0000 (10:05 -0700)
Most of the places are using this format so lets consolidate it.

v2:
- split patch in two: display and non-display because of conflicts
between drm-intel-gt-next x drm-intel-next

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210713003854.143197-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_cursor.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/skl_universal_plane.c

index df2d8ce..71067a6 100644 (file)
@@ -2878,7 +2878,7 @@ void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv)
                dev_priv->display.bw_calc_min_cdclk = skl_bw_calc_min_cdclk;
                dev_priv->display.modeset_calc_cdclk = bxt_modeset_calc_cdclk;
                dev_priv->display.calc_voltage_level = tgl_calc_voltage_level;
-               /* Wa_22011320316:adlp[a0] */
+               /* Wa_22011320316:adl-p[a0] */
                if (IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0))
                        dev_priv->cdclk.table = adlp_a_step_cdclk_table;
                else
index bb61e73..f61a25f 100644 (file)
@@ -383,7 +383,7 @@ static u32 i9xx_cursor_ctl(const struct intel_crtc_state *crtc_state,
        if (plane_state->hw.rotation & DRM_MODE_ROTATE_180)
                cntl |= MCURSOR_ROTATE_180;
 
-       /* Wa_22012358565:adlp */
+       /* Wa_22012358565:adl-p */
        if (DISPLAY_VER(dev_priv) == 13)
                cntl |= MCURSOR_ARB_SLOTS(1);
 
index 2589065..588b8eb 100644 (file)
@@ -975,7 +975,7 @@ void intel_enable_pipe(const struct intel_crtc_state *new_crtc_state)
                /* FIXME: assert CPU port conditions for SNB+ */
        }
 
-       /* Wa_22012358565:adlp */
+       /* Wa_22012358565:adl-p */
        if (DISPLAY_VER(dev_priv) == 13)
                intel_de_rmw(dev_priv, PIPE_ARB_CTL(pipe),
                             0, PIPE_ARB_USE_PROG_SLOTS);
index 9643624..4dfe1dc 100644 (file)
@@ -545,7 +545,7 @@ static void hsw_activate_psr2(struct intel_dp *intel_dp)
        val |= EDP_PSR2_FRAME_BEFORE_SU(intel_dp->psr.sink_sync_latency + 1);
        val |= intel_psr2_get_tp_time(intel_dp);
 
-       /* Wa_22012278275:adlp */
+       /* Wa_22012278275:adl-p */
        if (IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_D1)) {
                static const u8 map[] = {
                        2, /* 5 lines */
@@ -733,7 +733,7 @@ tgl_dc3co_exitline_compute_config(struct intel_dp *intel_dp,
        if (!dc3co_is_pipe_port_compatible(intel_dp, crtc_state))
                return;
 
-       /* Wa_16011303918:adlp */
+       /* Wa_16011303918:adl-p */
        if (IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0))
                return;
 
@@ -965,7 +965,7 @@ static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
                return false;
        }
 
-       /* Wa_16011303918:adlp */
+       /* Wa_16011303918:adl-p */
        if (crtc_state->vrr.enable &&
            IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0)) {
                drm_dbg_kms(&dev_priv->drm,
@@ -1160,7 +1160,7 @@ static void intel_psr_enable_source(struct intel_dp *intel_dp)
                             intel_dp->psr.psr2_sel_fetch_enabled ?
                             IGNORE_PSR2_HW_TRACKING : 0);
 
-       /* Wa_16011168373:adlp */
+       /* Wa_16011168373:adl-p */
        if (IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0) &&
            intel_dp->psr.psr2_enabled)
                intel_de_rmw(dev_priv,
@@ -1346,7 +1346,7 @@ static void intel_psr_disable_locked(struct intel_dp *intel_dp)
                intel_de_rmw(dev_priv, CHICKEN_PAR1_1,
                             DIS_RAM_BYPASS_PSR2_MAN_TRACK, 0);
 
-       /* Wa_16011168373:adlp */
+       /* Wa_16011168373:adl-p */
        if (IS_ADLP_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0) &&
            intel_dp->psr.psr2_enabled)
                intel_de_rmw(dev_priv,
index c7263f4..628b678 100644 (file)
@@ -926,7 +926,7 @@ static u32 skl_plane_ctl(const struct intel_crtc_state *crtc_state,
        else if (key->flags & I915_SET_COLORKEY_SOURCE)
                plane_ctl |= PLANE_CTL_KEY_ENABLE_SOURCE;
 
-       /* Wa_22012358565:adlp */
+       /* Wa_22012358565:adl-p */
        if (DISPLAY_VER(dev_priv) == 13)
                plane_ctl |= adlp_plane_ctl_arb_slots(plane_state);