RFC Atomic watermark updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest15 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | drm/i915: Test plane mask for sprite watermark updates properlydrivers/ | +2 | 0 replies | |
| 2/15 | drm/i915: Drop parameters to intel_update_sprite_watermarks()drivers/ drivers/ drivers/ +1 more | +20 | 0 replies | |
| 3/15 | drm/i915: Update sprite watermarks outside vblank evasiondrivers/ drivers/ | +13 | 2 replies | |
| 4/15 | drm/i915: Make atomic use in-flight state for CRTC active value (v2)drivers/ drivers/ drivers/ +1 more | +51 | 0 replies | |
| 5/15 | drm/i915: Lookup CRTC for plane directlydrivers/ drivers/ drivers/ +1 more | +19 | 2 replies | |
| 6/15 | drm/i915: Eliminate usage of plane_wm_parameters from ILK-style WM codedrivers/ drivers/ | +75 | 0 replies | |
| 7/15 | drm/i915: Eliminate usage of pipe_wm_parameters from ILK-style WMdrivers/ | +34 | 0 replies | |
| 8/15 | drm/i915: Refactor ilk_update_wm (v3)drivers/ | +21 | 0 replies | |
| 9/15 | drm/i915: Allow ILK watermark computation to use atomic statedrivers/ | +64 | 0 replies | |
| 10/15 | drm/i915: Move active watermarks into CRTC statedrivers/ drivers/ | +42 | 0 replies | |
| 11/15 | drm/i915: Calculate pipe watermark values during atomic checkdrivers/ drivers/ drivers/ +2 more | +41 | 0 replies | |
| 12/15 | drm/i915: Actually use pre-computer watermark values (!!SQUASHME)drivers/ drivers/ drivers/ +1 more | +24 | 1 reply | |
| 13/15 | drm/i915: Introduce intel_schedule_vblank_job()drivers/ drivers/ drivers/ | +152 | 2 replies | |
| 14/15 | drm/i915: Program atomic watermarks via vblank jobdrivers/ drivers/ drivers/ | +41 | 1 reply | |
| 15/15 | drm/i915: Add intermediate watermarksdrivers/ drivers/ drivers/ +2 more | +126 | 0 replies |
Reviews trailers per patch
None of the 15 patches has a Reviewed-by or Acked-by.
| Patch | Paulo Zanoni |
|---|---|
| 1/15 | |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | Inspired-by |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/15] Atomic watermark updates
Here's an early RFC series for transitioning watermark updates to an atomic model. The general idea is that we want to move calculation of a pipe's watermark values to the atomic check phase rather than doing it at the commit stage as we do today, but we actually want to calculate two sets of values: a "final" (i.e., optimal) set of watermark values, plus an "intermediate" (transitional) set of values. The intermediate watermark values are a combination of the values for the old CRTC state and the new CRTC state so they should be able to satisfy the needs of both configurations. That means that when we get to the atomic commit phase, we can immediately program the intermediate watermark values without waiting for the vblank to happen. Later, when the vblank finally does happen, a workqueue task will be scheduled to program the watermarks again, this time using the final, optimal values.
Watermark programming details vary wildly between the various platforms we support. For this initial RFC, I've only coverted ILK-style platforms to use this new model (to keep the series simple, and because IVB, which uses ILK-style watermarks, is the only platform I actually have available to test on at the moment). The behavior on platforms I haven't converted should remain the same.
This series is still very rough and is definitely not ready for merging yet; I'm just looking to get some feedback that the general approach looks good and is the way we want to handle this.
One known issue at the moment is that this series has some issues when disabling a CRTC while sprite planes are active; it seems our modeset code isn't quite far enough along with the atomic conversion for the calculated plane states to get properly swapped into plane->state at the commit stage. I know Maarten has a bunch of patches that clean up and pretty much finish the atomic conversion for legacy modeset, so I suspect his series will solve this issue.
Matt Roper (14):
drm/i915: Test plane mask for sprite watermark updates properly drm/i915: Drop parameters to intel_update_sprite_watermarks() drm/i915: Update sprite watermarks outside vblank evasion drm/i915: Make atomic use in-flight state for CRTC active value (v2) drm/i915: Lookup CRTC for plane directly
drm/i915: Eliminate usage of plane_wm_parameters from ILK-style WM
code
drm/i915: Eliminate usage of pipe_wm_parameters from ILK-style WM drm/i915: Allow ILK watermark computation to use atomic state drm/i915: Move active watermarks into CRTC state drm/i915: Calculate pipe watermark values during atomic check drm/i915: Actually use pre-computer watermark values (!!SQUASHME) drm/i915: Introduce intel_schedule_vblank_job()
drm/i915: Program atomic watermarks via vblank job drm/i915: Add intermediate watermarks
Ville Syrjälä (1):
drm/i915: Refactor ilk_update_wm (v3)
drivers/gpu/drm/i915/i915_drv.h | 16 ++ drivers/gpu/drm/i915/i915_irq.c | 117 ++++++++++ drivers/gpu/drm/i915/intel_atomic.c | 40 +++- drivers/gpu/drm/i915/intel_atomic_plane.c | 23 +- drivers/gpu/drm/i915/intel_display.c | 147 +++++++++++-- drivers/gpu/drm/i915/intel_drv.h | 97 ++++++--- drivers/gpu/drm/i915/intel_pm.c | 345 +++++++++++++++++------------- drivers/gpu/drm/i915/intel_sprite.c | 40 +--- 8 files changed, 584 insertions(+), 241 deletions(-)
Signature · 6 lines
1.8.5.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx