]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/vrr: Update the intel_vrr_extra_vblank_delay() comment
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Oct 2025 18:50:37 +0000 (21:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Oct 2025 21:10:58 +0000 (00:10 +0300)
The coment in intel_vrr_extra_vblank_delay() is a bit outdated now
that we generally got rid of the "vblank delay" stuff. Update the
comment to better describe the current state of things.

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

index 8875e5fe86aa19080bd2fa3c4e71386d047e040b..c28491b9002a1940c7e6d9ccde261b54cd23f28c 100644 (file)
@@ -87,10 +87,8 @@ static int intel_vrr_extra_vblank_delay(struct intel_display *display)
        /*
         * On ICL/TGL VRR hardware inserts one extra scanline
         * just after vactive, which pushes the vmin decision
-        * boundary ahead accordingly. We'll include the extra
-        * scanline in our vblank delay estimates to make sure
-        * that we never underestimate how long we have until
-        * the delayed vblank has passed.
+        * boundary ahead accordingly, and thus reduces the
+        * max guardband length by one scanline.
         */
        return DISPLAY_VER(display) < 13 ? 1 : 0;
 }