drm/i915: Dump dp_m2_n2 always
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 28 Jan 2022 10:37:55 +0000 (12:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Feb 2022 09:33:23 +0000 (11:33 +0200)
No point in special casing the dp_m2_n2 dumping. Just do it always.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220128103757.22461-16-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c

index 3483f01..8db219b 100644 (file)
@@ -5631,11 +5631,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,