Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/vrr: Add vrr.vsync_{start, end} in vrr_params_changed

Add the missing vrr parameters in vrr_params_changed() helper.
This ensures that changes in vrr.vsync_{start,end} trigger a call to
appropriate helpers to update the VRR registers.

Fixes: e8cd188e91bb ("drm/i915/display: Compute vrr_vsync params")
Cc: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Cc: Arun R Murthy <arun.r.murthy@intel.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: <stable@vger.kernel.org> # v6.10+
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/20250404080540.2059511-1-ankit.k.nautiyal@intel.com

+3 -1
+3 -1
drivers/gpu/drm/i915/display/intel_display.c
··· 969 969 old_crtc_state->vrr.vmin != new_crtc_state->vrr.vmin || 970 970 old_crtc_state->vrr.vmax != new_crtc_state->vrr.vmax || 971 971 old_crtc_state->vrr.guardband != new_crtc_state->vrr.guardband || 972 - old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full; 972 + old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full || 973 + old_crtc_state->vrr.vsync_start != new_crtc_state->vrr.vsync_start || 974 + old_crtc_state->vrr.vsync_end != new_crtc_state->vrr.vsync_end; 973 975 } 974 976 975 977 static bool cmrr_params_changed(const struct intel_crtc_state *old_crtc_state,