> -----Original Message----- > From: Nautiyal, Ankit K <[email protected]> > Sent: Tuesday, July 9, 2024 8:57 AM > To: [email protected] > Cc: [email protected]; [email protected]; Golani, > Mitulkumar Ajitkumar <[email protected]> > Subject: [PATCH 04/10] drm/i915/vrr: Compute vrr vsync if platforms support it > > Previously, TRANS_VRR_VSYNC was exclusively used for panels with adaptive- > sync SDP support in VRR scenarios. However, to drive fixed refresh rates using > the VRR Timing generator, we now need to program TRANS_VRR_VSYNC > regardless of adaptive sync SDP support. Therefore, let's remove the adaptive In this case still do we need to add source check for HAS_AS_SDP(i915) ? Regards, Mitul > sync SDP check and program TRANS_VRR_VSYNC for platforms where VRR > timing generator is used. > > Signed-off-by: Ankit Nautiyal <[email protected]> > --- > drivers/gpu/drm/i915/display/intel_vrr.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c > b/drivers/gpu/drm/i915/display/intel_vrr.c > index 24568dae717a..43b772f91556 100644 > --- a/drivers/gpu/drm/i915/display/intel_vrr.c > +++ b/drivers/gpu/drm/i915/display/intel_vrr.c > @@ -233,8 +233,7 @@ intel_vrr_compute_config(struct intel_crtc_state > *crtc_state, > crtc_state->mode_flags |= I915_MODE_FLAG_VRR; > } > > - if (intel_dp_as_sdp_supported(intel_dp) && > - crtc_state->vrr.enable) { > + if (HAS_AS_SDP(i915) && crtc_state->vrr.enable) { > crtc_state->vrr.vsync_start = > (crtc_state->hw.adjusted_mode.crtc_vtotal - > crtc_state->hw.adjusted_mode.vsync_start); > -- > 2.40.1
RE: [PATCH 04/10] drm/i915/vrr: Compute vrr vsync if platforms support it
Golani, Mitulkumar Ajitkumar Mon, 15 Jul 2024 21:06:54 -0700
- [PATCH 00/10] Use VRR timing generator for fi... Ankit Nautiyal
- [PATCH 01/10] drm/i915/dp: fix the Adapt... Ankit Nautiyal
- [PATCH 02/10] drm/i915/display: Add memb... Ankit Nautiyal
- RE: [PATCH 02/10] drm/i915/display: ... Golani, Mitulkumar Ajitkumar
- Re: [PATCH 02/10] drm/i915/displ... Nautiyal, Ankit K
- [PATCH 03/10] drm/i915/dp: Set FAVT mode... Ankit Nautiyal
- RE: [PATCH 03/10] drm/i915/dp: Set F... Golani, Mitulkumar Ajitkumar
- [PATCH 04/10] drm/i915/vrr: Compute vrr ... Ankit Nautiyal
- RE: [PATCH 04/10] drm/i915/vrr: Comp... Golani, Mitulkumar Ajitkumar
- Re: [PATCH 04/10] drm/i915/vrr: ... Nautiyal, Ankit K
- [PATCH 05/10] drm/i915/hdmi: Use VRR Tim... Ankit Nautiyal
- RE: [PATCH 05/10] drm/i915/hdmi: Use... Golani, Mitulkumar Ajitkumar
- [PATCH 06/10] drm/i915/display: Disable ... Ankit Nautiyal
- [PATCH 07/10] drm/i915/psr: Allow PSR fo... Ankit Nautiyal
- [PATCH 08/10] drm/i915/vrr: Avoid sendin... Ankit Nautiyal
- RE: [PATCH 08/10] drm/i915/vrr: Avoi... Golani, Mitulkumar Ajitkumar
- [PATCH 09/10] drm/i915/vrr: Handle joine... Ankit Nautiyal
- [PATCH 10/10] drm/i915/vrr: Always use V... Ankit Nautiyal
- ✗ Fi.CI.SPARSE: warning for Use VRR timi... Patchwork
