Instead of setting vrr.guardband to vblank, use optimal guardband that
works for most of the cases. This will help in avoiding need of change
in guardband and fix the LRR feature that needs seamless switching to
a lower refresh rate.

Rev2:
- Drop patch to check guardband in crtc_check phase, instead check
  guardband for SDP in compute_config_late.
- Modify the helper to get the min sdp guardband if all SDPs are assumed
  to be enabled.
- Rename the helpers to get min guardband for sdp and psr.

Rev3:
- Drop the squashed patches as the dependency changes are already
  merged.
- Avoid optimized guardband for HDMI for now.
- Allow support for optmized guardband only to platforms that always have
  VRR TG active in the main patch.
- Add a separate patch for extending support for optimized guardband to
  other platforms whenever VRR TG gets enabled.

Rev4:
- Address review comments from Jouni and Ville.

Ankit Nautiyal (5):
  drm/i915/psr: Add helper to get min psr guardband
  drm/i915/dp: Add helper to get min sdp guardband
  drm/i915/dp: Check if guardband can accommodate sdp latencies
  drm/i915/vrr: Use the min static optimized guardband
  drm/i915/vrr: Use optimized guardband whenever VRR TG is active

 drivers/gpu/drm/i915/display/intel_dp.c  | 58 ++++++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_dp.h  |  2 +
 drivers/gpu/drm/i915/display/intel_psr.c | 27 +++++++++++
 drivers/gpu/drm/i915/display/intel_psr.h |  1 +
 drivers/gpu/drm/i915/display/intel_vrr.c | 56 ++++++++++++++++++++++-
 5 files changed, 142 insertions(+), 2 deletions(-)

-- 
2.45.2

Reply via email to