drm/i915: Enable vblanks after the timing generator has started
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/i915: Disable port sync if VRR is enableddrivers/ | +3 | 1 reply | |
| 2/10 | drm/i915: Do intel_crtc_vblank_on() later on HSW+drivers/ | +5 | 1 reply | |
| 3/10 | drm/i915: Handle joined pipes inside intel_crtc_vblank_{on, off}()drivers/ drivers/ drivers/ +6 more | +52 | 2 replies | |
| 4/10 | Revert "drm/i915/display: Avoid stale PIPE_SCANLINE values after crtc_enable"drivers/ | +0 | 1 reply | |
| 5/10 | drm/i915: Fix intel_crtc_vblank_on() with port syncdrivers/ | +33 | 1 reply | |
| 6/10 | drm/i915: Wait for timing generator to start in intel_crtc_vblank_on() on HSW+drivers/ | +13 | 1 reply | |
| 7/10 | drm/i915: Reduce the sleep inside pipe_scanline_is_moving()drivers/ | +1 | 1 reply | |
| 8/10 | drm/i915: Document timing generator start/stop behaviour on HSW+drivers/ drivers/ drivers/ | +22 | 1 reply | |
| 9/10 | drm/i915: Fix FEC wait with port sync on pre-LNLdrivers/ | +43 | 1 reply | |
| 10/10 | drm/i915: Allow joiner with port syncdrivers/ | +1 | 1 reply |
Reviews trailers per patch
5 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Suraj Kandpal |
|---|---|
| 1/10 | |
| 2/10 | R-b |
| 3/10 | |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] drm/i915: Enable vblanks after the timing generator has started
From: Ville Syrjälä <[email protected]>
Currently we may enable the vblank machinery before the timing generator has actually started, which means the frame/scanline counters read out during the vblank enabling may be complete nonsense. When the timing generator finally starts running and we get the first vblank interrupt the sampled counters may jump erratically, which could cause the vblank code to get confused as to how many frames have actually elapsed.
The series fixes the problem for HSW+ by making sure the timing generator is actually ticking before we enable the vblank machinery. I also plan to fix the pre-HSW platforms but I'll need to do a bit more reverse engineering to figure out the final details.
While doing this I also ended up fixing some related FEC issues with port sync, and finally enable joiner+port sync because we no longer have any need to keep the two apart from each other.
Ville Syrjälä (10):
drm/i915: Disable port sync if VRR is enabled
drm/i915: Do intel_crtc_vblank_on() later on HSW+ drm/i915: Handle joined pipes inside intel_crtc_vblank_{on,off}() Revert "drm/i915/display: Avoid stale PIPE_SCANLINE values after
crtc_enable"
drm/i915: Fix intel_crtc_vblank_on() with port sync drm/i915: Wait for timing generator to start in intel_crtc_vblank_on()
on HSW+
drm/i915: Reduce the sleep inside pipe_scanline_is_moving() drm/i915: Document timing generator start/stop behaviour on HSW+ drm/i915: Fix FEC wait with port sync on pre-LNL
drm/i915: Allow joiner with port sync
drivers/gpu/drm/i915/display/icl_dsi.c | 4 +- drivers/gpu/drm/i915/display/intel_crt.c | 6 +- drivers/gpu/drm/i915/display/intel_crtc.c | 45 ++++++- drivers/gpu/drm/i915/display/intel_crtc.h | 8 +- drivers/gpu/drm/i915/display/intel_ddi.c | 120 ++++++++++++++---- drivers/gpu/drm/i915/display/intel_display.c | 12 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 17 +-- .../drm/i915/display/intel_modeset_setup.c | 2 +- drivers/gpu/drm/i915/display/intel_vblank.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 4 +- 10 files changed, 166 insertions(+), 54 deletions(-)
Signature · 1 line
2.55.0