On Mon, Mar 04, 2024 at 03:30:20PM -0300, Gustavo Sousa wrote: > The CDCLK table is tied to Xe2LPD display and not to the platform. Let's > rename lnl_cdclk_table to xe2lpd_cdclk_table in order to reflect that. > > Signed-off-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx> Reviewed-by: Matt Roper <matthew.d.roper@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_cdclk.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c b/drivers/gpu/drm/i915/display/intel_cdclk.c > index 22473c55b899..407bd541eb46 100644 > --- a/drivers/gpu/drm/i915/display/intel_cdclk.c > +++ b/drivers/gpu/drm/i915/display/intel_cdclk.c > @@ -1417,7 +1417,7 @@ static const struct intel_cdclk_vals mtl_cdclk_table[] = { > {} > }; > > -static const struct intel_cdclk_vals lnl_cdclk_table[] = { > +static const struct intel_cdclk_vals xe2lpd_cdclk_table[] = { > { .refclk = 38400, .cdclk = 153600, .ratio = 16, .waveform = 0xaaaa }, > { .refclk = 38400, .cdclk = 172800, .ratio = 16, .waveform = 0xad5a }, > { .refclk = 38400, .cdclk = 192000, .ratio = 16, .waveform = 0xb6b6 }, > @@ -3710,7 +3710,7 @@ void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv) > { > if (DISPLAY_VER(dev_priv) >= 20) { > dev_priv->display.funcs.cdclk = &mtl_cdclk_funcs; > - dev_priv->display.cdclk.table = lnl_cdclk_table; > + dev_priv->display.cdclk.table = xe2lpd_cdclk_table; > } else if (DISPLAY_VER(dev_priv) >= 14) { > dev_priv->display.funcs.cdclk = &mtl_cdclk_funcs; > dev_priv->display.cdclk.table = mtl_cdclk_table; > -- > 2.44.0 > -- Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation