drm/i915/cdclk: Rename lnl_cdclk_table to xe2lpd_cdclk_table
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. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240312163639.172321-2-gustavo.sousa@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
committed by
Lucas De Marchi
parent
b49abfed11
commit
dfdfc609bb
@@ -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 },
|
||||
@@ -3703,7 +3703,7 @@ void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv)
|
||||
{
|
||||
if (DISPLAY_VER(dev_priv) >= 20) {
|
||||
dev_priv->display.funcs.cdclk = &rplu_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 = &rplu_cdclk_funcs;
|
||||
dev_priv->display.cdclk.table = mtl_cdclk_table;
|
||||
|
||||
Reference in New Issue
Block a user