Skip to content

drm/i915/vrr: Fix DSB+VRR usage for PTL+

Ville Syrjala intel-gfx intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 7 repliesIn review
  2. v13 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915/dsb: Move the +1 usec adjustment into dsb_wait_usec()drivers/gpu/drm/i915/display/intel_dsb.c+3 -21 reply
2/8drm/i915/vrr: Don't send push for legacy cursor updatesdrivers/gpu/drm/i915/display/intel_crtc.c+2 -11 reply
3/8drm/i915/vrr: Account for TRANS_PUSH delaydrivers/gpu/drm/i915/display/intel_dsb.c+7 -11 reply
4/8drm/i915/dsb: Compute use_dsb earlierdrivers/gpu/drm/i915/display/intel_color.c drivers/gpu/drm/i915/display/intel_display.c+13 -81 reply
5/8drm/i915/dsb: Introduce intel_dsb_poll()drivers/gpu/drm/i915/display/intel_dsb.c drivers/gpu/drm/i915/display/intel_dsb.h+22 -00 replies
6/8drm/i915/vrr: Reorder the DSB "wait for safe window" vs. TRANS_PUSHdrivers/gpu/drm/i915/display/intel_color.c drivers/gpu/drm/i915/display/intel_display.c+4 -100 replies
7/8drm/i915/vrr: Check that the push send bit is clear after delayed vblankdrivers/gpu/drm/i915/display/intel_color.c drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_vrr.c +1 more+38 -06 replies
8/8drm/i915/dsb: Decode DSB error interruptsdrivers/gpu/drm/i915/display/intel_dsb.c+12 -31 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchAnkit Nautiyal
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b R-b R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] drm/i915/vrr: Fix DSB+VRR usage for PTL+

From: Ville Syrjälä <[email protected]>

Apparently PTL (or I suppose it could have already happened in either MTL or LNL, didn't have either one to check) changes the way the VRR hardwre works by ending the safe window as soon as the push send is triggered. Reorder our DSB programming sequence to account for that, and try to make sure we catch any vblank evasion fails that could cause problems with the new order.

v2: Fix up the issues with wiating for the vblank delay
so we can make do with a single check of the push bit. Also do the check for the mmio path.
Avoid legacy cursor updates making a mess of things. Decode the DSB errors.

Ville Syrjälä (8):
drm/i915/dsb: Move the +1 usec adjustment into dsb_wait_usec() drm/i915/vrr: Don't send push for legacy cursor updates drm/i915/vrr: Account for TRANS_PUSH delay
drm/i915/dsb: Compute use_dsb earlier
drm/i915/dsb: Introduce intel_dsb_poll()
drm/i915/vrr: Reorder the DSB "wait for safe window" vs. TRANS_PUSH drm/i915/vrr: Check that the push send bit is clear after delayed
vblank
drm/i915/dsb: Decode DSB error interrupts

 drivers/gpu/drm/i915/display/intel_color.c   |  9 +++-
 drivers/gpu/drm/i915/display/intel_crtc.c    |  3 +-
 drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++------
 drivers/gpu/drm/i915/display/intel_dsb.c     | 47 +++++++++++++++++---
 drivers/gpu/drm/i915/display/intel_dsb.h     |  3 ++
 drivers/gpu/drm/i915/display/intel_vrr.c     | 31 +++++++++++++
 drivers/gpu/drm/i915/display/intel_vrr.h     |  2 +
 7 files changed, 101 insertions(+), 25 deletions(-)
Signature · 1 line
2.45.3