Skip to content

Wrap up ILK-style atomic watermarks

Matt Roper dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/i915: Disable primary plane if we fail to reconstruct BIOS fbdrivers/gpu/drm/i915/intel_display.c+13 -01 reply
2/9drm/i915: Dump in-flight plane state while dumping in-flight CRTC statedrivers/gpu/drm/i915/intel_display.c+13 -12 replies
3/9drm/i915: Clarify plane state during CRTC state dumps (v2)drivers/gpu/drm/i915/intel_display.c+6 -41 reply
4/9drm/i915: Dump pipe config after initial FB is reconstructeddrivers/gpu/drm/i915/intel_display.c+3 -01 reply
5/9drm/i915: Setup clipped src/dest coordinates during FB reconstruction (v2)drivers/gpu/drm/i915/intel_display.c+11 -02 replies
6/9drm/i915: Convert hsw_compute_linetime_wm to use in-flight statedrivers/gpu/drm/i915/intel_pm.c+10 -60 replies
7/9drm/i915: Add extra paranoia to ILK watermark calculationsdrivers/gpu/drm/i915/intel_pm.c+16 -00 replies
8/9drm/i915: Sanitize watermarks after hardware state readout (v2)drivers/gpu/drm/drm_atomic_helper.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c +1 more+68 -68 replies
9/9drm/i915: Add two-stage ILK-style watermark programming (v7)drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_atomic.c drivers/gpu/drm/i915/intel_display.c +2 more+232 -562 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Wrap up ILK-style atomic watermarks

We've been chasing a regression[1] that prevented us from merging the last couple patches of the ILK-style atomic watermark series. We've finally identified the culprit --- if we fail to reconstruct the BIOS FB, our internal driver state was left in an inconsistent state which caused confusion for the watermark code. Here's a series that collects that fix (along with a couple other bugfixes that were found while debugging), a few debugging enhancements, and the completion of the ILK atomic watermark series.

* The first patch in this series addresses that issue and
ensures that we cleanly turn off the primary plane if we're unable to inherit the framebuffer.
* Patches 2-4 just clarify/expand some of the information dumped by the driver while debugging.
* Patches 5 and 6 fix two additional bugs that were discovered while searching for the cause of the regression.
* Patch 7 just adds some extra paranoia and invariant checking to the watermark code.
* Patches 8 and 9 are the two final patches from the original atomic watermark series; with the fixes earlier in the series, we've confirmed that they no longer cause regressions on Jani's machine.

[1] http://lists.freedesktop.org/archives/intel-gfx/2015-October/077113.html

Matt Roper (9):
drm/i915: Disable primary plane if we fail to reconstruct BIOS fb drm/i915: Dump in-flight plane state while dumping in-flight CRTC
state
drm/i915: Clarify plane state during CRTC state dumps (v2) drm/i915: Dump pipe config after initial FB is reconstructed drm/i915: Setup clipped src/dest coordinates during FB reconstruction

    (v2)

drm/i915: Convert hsw_compute_linetime_wm to use in-flight state drm/i915: Add extra paranoia to ILK watermark calculations drm/i915: Sanitize watermarks after hardware state readout (v2) drm/i915: Add two-stage ILK-style watermark programming (v7)

 drivers/gpu/drm/drm_atomic_helper.c  |   1 +
 drivers/gpu/drm/i915/i915_drv.h      |   5 +
 drivers/gpu/drm/i915/intel_atomic.c  |   1 +
 drivers/gpu/drm/i915/intel_display.c | 195 +++++++++++++++++++++++++++++++++--
 drivers/gpu/drm/i915/intel_drv.h     |  31 +++++-
 drivers/gpu/drm/i915/intel_pm.c      | 186 ++++++++++++++++++++++++---------
 6 files changed, 359 insertions(+), 60 deletions(-)
Signature · 6 lines
2.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx