From: Ville Syrjälä <ville.syrj...@linux.intel.com>

No point in special casing the dp_m2_n2 dumping. Just do it always.

Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c 
b/drivers/gpu/drm/i915/display/intel_display.c
index e2b107dd246a..79d110c1f947 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -5626,11 +5626,11 @@ static void intel_dump_pipe_config(const struct 
intel_crtc_state *pipe_config,
 
        if (intel_crtc_has_dp_encoder(pipe_config)) {
                intel_dump_m_n_config(pipe_config, "dp m_n",
-                               pipe_config->lane_count, &pipe_config->dp_m_n);
-               if (pipe_config->has_drrs)
-                       intel_dump_m_n_config(pipe_config, "dp m2_n2",
-                                             pipe_config->lane_count,
-                                             &pipe_config->dp_m2_n2);
+                                     pipe_config->lane_count,
+                                     &pipe_config->dp_m_n);
+               intel_dump_m_n_config(pipe_config, "dp m2_n2",
+                                     pipe_config->lane_count,
+                                     &pipe_config->dp_m2_n2);
        }
 
        drm_dbg_kms(&dev_priv->drm,
-- 
2.34.1

Reply via email to