]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: Remove the "vblank delay" state dump
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Oct 2025 18:50:19 +0000 (21:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Oct 2025 20:54:48 +0000 (23:54 +0300)
The "vblank delay" we are including in the crtc state dump is
meaningful only when running with fixed refresh rate timings.
With VRR timings one has to look at the VRR state to figure out
the same thing.

Since we already dump the position of the delayed vblank for
both fixed refresh rate and VRR timings, this "vblank delay"
thing seems pretty much pointless now. Get rid of it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20251020185038.4272-4-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 23e25e97d0609c1d4409a45b560c9ddeb0c00209..e6f300dbb5eebc9ca89e9cb435f6d95862a017bf 100644 (file)
@@ -289,9 +289,7 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
        drm_printf(&p, "scanline offset: %d\n",
                   intel_crtc_scanline_offset(pipe_config));
 
-       drm_printf(&p, "vblank delay: %d, framestart delay: %d, MSA timing delay: %d set context latency: %d\n",
-                  pipe_config->hw.adjusted_mode.crtc_vblank_start -
-                  pipe_config->hw.adjusted_mode.crtc_vdisplay,
+       drm_printf(&p, "framestart delay: %d, MSA timing delay: %d, set context latency: %d\n",
                   pipe_config->framestart_delay, pipe_config->msa_timing_delay,
                   pipe_config->set_context_latency);