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 <[email protected]> Cc: Arun R Murthy <[email protected]> Cc: Ankit Nautiyal <[email protected]> Cc: Jani Nikula <[email protected]> Cc: <[email protected]> # v6.10+ Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit ced5e64) Signed-off-by: Jani Nikula <[email protected]>
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)