Atomic watermark updates (v3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/i915: Eliminate usage of plane_wm_parameters from ILK-style WM codedrivers/ | +70 | 2 replies | |
| 2/13 | drm/i915: Eliminate usage of pipe_wm_parameters from ILK-style WMdrivers/ | +28 | 16 replies | |
| 3/13 | drm/i915/skl: Simplify wm structures slightlydrivers/ drivers/ drivers/ +1 more | +56 | 1 reply | |
| 4/13 | drm/i915/skl: Eliminate usage of pipe_wm_parameters from SKL-style WMdrivers/ | +135 | 1 reply | |
| 5/13 | drm/i915/ivb: Move WaCxSRDisabledForSpriteScaling w/a to atomic checkdrivers/ drivers/ drivers/ +1 more | +49 | 0 replies | |
| 6/13 | drm/i915: Drop intel_update_sprite_watermarksdrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 7/13 | drm/i915: Refactor ilk_update_wm (v3)drivers/ | +33 | 0 replies | |
| 8/13 | drm/i915: Move active watermarks into CRTC state (v2)drivers/ drivers/ | +44 | 1 reply | |
| 9/13 | drm/i915: Calculate ILK-style watermarks during atomic check (v2)drivers/ drivers/ drivers/ +1 more | +53 | 2 replies | |
| 10/13 | drm/i915: Calculate watermark configuration during atomic checkdrivers/ drivers/ drivers/ +1 more | +71 | 2 replies | |
| 11/13 | drm/i915: Add two-stage ILK-style watermark programming (v3)drivers/ drivers/ drivers/ +1 more | +208 | 1 reply | |
| 12/13 | drm/i915/skl: Switch to atomic watermark programmingdrivers/ drivers/ drivers/ | +40 | 0 replies | |
| 13/13 | drm/i915/skl: Clarify pending vs hw watermark valuesdrivers/ drivers/ drivers/ +1 more | +30 | 0 replies |
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Ander Conselvan de Oliveira |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] Atomic watermark updates (v3)
Previous atomic watermark patches were posted here:
http://lists.freedesktop.org/archives/intel-gfx/2015-July/070465.html
Key changes since the last series:
* Quite a bit of rebasing; I got pulled away from working on this for a while, so parts of the upstream code evolved a bit before I was able to get back to working on this.
* Completely drop the async aspect of writing the final watermarks on platforms that need two-step programming. Although this is the direction we want to go eventually, Maarten has indicated that what I was doing in previous patch sets was going to lead to conflicts with some of his in-progress work and asked that I just write the final watermarks at the very end of the atomic transaction, after waiting for vblanks. We can revisit the async final step again after Maarten's work lands and leverage the new interfaces he adds. In the meantime, this simplifies things a bit since we don't need to worry about async final watermark writing racing with our next transaction and clobbering the intermediate values for that next transaction that we've already written.
* Early SKL-style atomic watermarks (completely untested at the moment!). Even though gen9 doesn't need the two-step programming process, we now pre-compute gen9 watermark values during the check phase and write+flush them during commit. However I think there's still more refactoring that should be eventually done here. We trigger watermark updates on a per-crtc basis, but the end results are global, not per-crtc. In an atomic transaction this could currently lead to us re-calculating the same values
multiple times if multiple CRTC's all trigger a WM update. Note that I
haven't had a chance to run any of this on real gen9 hardware yet, so all of the SKL patches here should be considered RFC at best; they may be completely broken.
* Various review feedback from Daniel, Ville, and Maarten from previous iterations.
Matt Roper (12):
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/skl: Simplify wm structures slightly drm/i915/skl: Eliminate usage of pipe_wm_parameters from SKL-style WM drm/i915/ivb: Move WaCxSRDisabledForSpriteScaling w/a to atomic check drm/i915: Drop intel_update_sprite_watermarks
drm/i915: Move active watermarks into CRTC state (v2) drm/i915: Calculate ILK-style watermarks during atomic check (v2) drm/i915: Calculate watermark configuration during atomic check drm/i915: Add two-stage ILK-style watermark programming (v3) drm/i915/skl: Switch to atomic watermark programming drm/i915/skl: Clarify pending vs hw watermark values
Ville Syrjälä (1):
drm/i915: Refactor ilk_update_wm (v3)
drivers/gpu/drm/i915/i915_debugfs.c | 4 +- drivers/gpu/drm/i915/i915_drv.h | 68 ++- drivers/gpu/drm/i915/intel_atomic.c | 1 + drivers/gpu/drm/i915/intel_display.c | 184 +++++++- drivers/gpu/drm/i915/intel_drv.h | 81 +++- drivers/gpu/drm/i915/intel_pm.c | 860 ++++++++++++++++------------------- drivers/gpu/drm/i915/intel_sprite.c | 15 - 7 files changed, 659 insertions(+), 554 deletions(-)
Signature · 6 lines
2.1.4 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx