Commit 3dfeb80b authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Fix FEC state dump

Stop dumping state while reading it out. We have a proper
place for that stuff.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230502143906.2401-7-ville.syrjala@linux.intel.comReviewed-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 126f94e8
...@@ -258,6 +258,8 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config, ...@@ -258,6 +258,8 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
intel_dump_m_n_config(pipe_config, "dp m2_n2", intel_dump_m_n_config(pipe_config, "dp m2_n2",
pipe_config->lane_count, pipe_config->lane_count,
&pipe_config->dp_m2_n2); &pipe_config->dp_m2_n2);
drm_dbg_kms(&i915->drm, "fec: %s\n",
str_enabled_disabled(pipe_config->fec_enable));
} }
drm_dbg_kms(&i915->drm, "framestart delay: %d, MSA timing delay: %d\n", drm_dbg_kms(&i915->drm, "framestart delay: %d, MSA timing delay: %d\n",
......
...@@ -3724,17 +3724,10 @@ static void intel_ddi_read_func_ctl(struct intel_encoder *encoder, ...@@ -3724,17 +3724,10 @@ static void intel_ddi_read_func_ctl(struct intel_encoder *encoder,
intel_cpu_transcoder_get_m2_n2(crtc, cpu_transcoder, intel_cpu_transcoder_get_m2_n2(crtc, cpu_transcoder,
&pipe_config->dp_m2_n2); &pipe_config->dp_m2_n2);
if (DISPLAY_VER(dev_priv) >= 11) { if (DISPLAY_VER(dev_priv) >= 11)
i915_reg_t dp_tp_ctl = dp_tp_ctl_reg(encoder, pipe_config);
pipe_config->fec_enable = pipe_config->fec_enable =
intel_de_read(dev_priv, dp_tp_ctl) & DP_TP_CTL_FEC_ENABLE; intel_de_read(dev_priv,
dp_tp_ctl_reg(encoder, pipe_config)) & DP_TP_CTL_FEC_ENABLE;
drm_dbg_kms(&dev_priv->drm,
"[ENCODER:%d:%s] Fec status: %u\n",
encoder->base.base.id, encoder->base.name,
pipe_config->fec_enable);
}
if (dig_port->lspcon.active && intel_dp_has_hdmi_sink(&dig_port->dp)) if (dig_port->lspcon.active && intel_dp_has_hdmi_sink(&dig_port->dp))
pipe_config->infoframes.enable |= pipe_config->infoframes.enable |=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment