From: Ville Syrjälä <[email protected]>

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ä <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c 
b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
index 23e25e97d060..e6f300dbb5ee 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
@@ -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);
 
-- 
2.49.1

Reply via email to