]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/vrr: Use crtc_vsync_start/end for computing vrr.vsync_start/end
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 16 Oct 2025 05:54:05 +0000 (11:24 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 16 Oct 2025 13:57:34 +0000 (19:27 +0530)
commitf71f86daa1b28def08bd855dd8ac3c1a9b19ae4c
tree33ec42a621de59a22f162e7a4a1a35d51b9f0618
parent8f8ef09fcf6a3b00369bfc704e8f68d7474eca94
drm/i915/vrr: Use crtc_vsync_start/end for computing vrr.vsync_start/end

Use adjusted_mode->crtc_vsync_start/end instead of
adjusted_mode->vsync_start while computing vrr.vsync_start/end.
For most modes, these are same but for 3D/stereo modes the
crtc_vsync_start is different than vsync_start.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://lore.kernel.org/r/20251016055415.2101347-2-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_vrr.c