Skip to content

Commit a421f50

Browse files
aknautiyaljnikula
authored andcommitted
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: e8cd188 ("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 (cherry picked from commit ced5e64) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent bc1feb8 commit a421f50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,9 @@ static bool vrr_params_changed(const struct intel_crtc_state *old_crtc_state,
968968
old_crtc_state->vrr.vmin != new_crtc_state->vrr.vmin ||
969969
old_crtc_state->vrr.vmax != new_crtc_state->vrr.vmax ||
970970
old_crtc_state->vrr.guardband != new_crtc_state->vrr.guardband ||
971-
old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full;
971+
old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full ||
972+
old_crtc_state->vrr.vsync_start != new_crtc_state->vrr.vsync_start ||
973+
old_crtc_state->vrr.vsync_end != new_crtc_state->vrr.vsync_end;
972974
}
973975

974976
static bool cmrr_params_changed(const struct intel_crtc_state *old_crtc_state,

0 commit comments

Comments
 (0)