]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/vrr: s/intel_vrr_compute_config_late/intel_vrr_compute_guardband
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 16 Oct 2025 05:54:07 +0000 (11:24 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 16 Oct 2025 13:57:36 +0000 (19:27 +0530)
commit2cdcab0d3a681f655757dab9d9719ac069b359ff
tree19dfd82daea8890e62e857d5b4c2750a774e8902
parent22378988303aae9b70d4ae579ff719cc7063770e
drm/i915/vrr: s/intel_vrr_compute_config_late/intel_vrr_compute_guardband

The helper intel_vrr_compute_config_late() practically just computes the
guardband. Rename intel_vrr_compute_config_late() to
intel_vrr_compute_guardband().

Since we are going to compute the guardband and then move the
vblank_start for optmizing guardband move it to
intel_crtc_compute_config() which handles such changes.

v2: Move the function at the last after clocks, pipe_mode etc. are all
    set. (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20251016055415.2101347-4-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_vrr.c
drivers/gpu/drm/i915/display/intel_vrr.h