Skip to content

Commit 5062fad

Browse files
aknautiyaljfvogel
authored andcommitted
drm/i915/vrr: Add vrr.vsync_{start, end} in vrr_params_changed
commit a421f5033c82990d795f8fcd30d5b835f8975508 upstream. 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 ced5e64f011cb5cd541988442997ceaa7385827e) Signed-off-by: Jani Nikula <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit a37e01fe60a35df354aa4c30762b91f26092ee93) Signed-off-by: Jack Vogel <[email protected]>
1 parent c08bceb commit 5062fad

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
@@ -1006,7 +1006,9 @@ static bool vrr_params_changed(const struct intel_crtc_state *old_crtc_state,
10061006
old_crtc_state->vrr.vmin != new_crtc_state->vrr.vmin ||
10071007
old_crtc_state->vrr.vmax != new_crtc_state->vrr.vmax ||
10081008
old_crtc_state->vrr.guardband != new_crtc_state->vrr.guardband ||
1009-
old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full;
1009+
old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full ||
1010+
old_crtc_state->vrr.vsync_start != new_crtc_state->vrr.vsync_start ||
1011+
old_crtc_state->vrr.vsync_end != new_crtc_state->vrr.vsync_end;
10101012
}
10111013

10121014
static bool cmrr_params_changed(const struct intel_crtc_state *old_crtc_state,

0 commit comments

Comments
 (0)