drm/i915: Move framestart/etc. state dump to a better spot
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Dec 2024 21:09:54 +0000 (23:09 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Jan 2025 17:28:40 +0000 (19:28 +0200)
Try to dump all the important stuff relating to the display timings
in one spot.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241210211007.5976-6-ville.syrjala@linux.intel.com
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c

index 1faef60be4728cd80a0a6b0151797ceda5c443ce..9d930ff862cfb9d6dfb2067be3655f6a85b4bea7 100644 (file)
@@ -250,9 +250,6 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
                           str_enabled_disabled(pipe_config->enable_psr2_sel_fetch));
        }
 
-       drm_printf(&p, "framestart delay: %d, MSA timing delay: %d\n",
-                  pipe_config->framestart_delay, pipe_config->msa_timing_delay);
-
        drm_printf(&p, "audio: %i, infoframes: %i, infoframes enabled: 0x%x\n",
                   pipe_config->has_audio, pipe_config->has_infoframe,
                   pipe_config->infoframes.enable);
@@ -286,6 +283,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
                drm_print_hex_dump(&p, "ELD: ", pipe_config->eld,
                                   drm_eld_size(pipe_config->eld));
 
+       drm_printf(&p, "framestart delay: %d, MSA timing delay: %d\n",
+                  pipe_config->framestart_delay, pipe_config->msa_timing_delay);
+
        drm_printf(&p, "vrr: %s, vmin: %d, vmax: %d, pipeline full: %d, guardband: %d flipline: %d, vmin vblank: %d, vmax vblank: %d\n",
                   str_yes_no(pipe_config->vrr.enable),
                   pipe_config->vrr.vmin, pipe_config->vrr.vmax,