Skip to content

gpu reset and page_flip removal, take 2

Daniel Vetter intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915: Avoid the gpu reset vs. modeset deadlockdrivers/gpu/drm/i915/intel_display.c+6 -04 replies
2/7drm/i915: Push i915_sw_fence_wait into the nonblocking atomic commitdrivers/gpu/drm/i915/intel_display.c+7 -83 replies
3/7drm/i915: More surgically unbreak the modeset vs reset deadlockdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c+42 -62 replies
4/7drm/i915: Rip out legacy page_flip completion/irq handlingdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h+22 -3470 replies
5/7drm/i915: adjust has_pending_fb_unpin to atomicdrivers/gpu/drm/i915/intel_display.c+14 -130 replies
6/7drm/i915: Remove intel_flip_work infrastructuredrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h +4 more+3 -2200 replies
7/7drm/i915: Drop unpin stall in atomic_prepare_commitdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h+1 -141 reply

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchMaarten LankhorstMichel Thierry
1/7
2/7R-b R-b
3/7
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v1 thread

Cover letter [PATCH 0/7] gpu reset and page_flip removal, take 2

Hi all,

I landed the locking change, which fixes the gpu reset deadlocks at least for anything modern (and non-igt). Would be great if we can get the first patch landed fast, just to address the regression in CI and get rid of the dmesg-warn. Currently we're blind to dmesg noise in a lot of gpu hang tests and that's not all that good (the timeout based wedging has a DRM_ERROR, which I think is the right thing for unexpected delays).

The remaining patches, especially patch 3, probably need a bunch more soaking time. I think 4-7 are ready for merging, not much pointing in holding them up due to lack of boosting in atomic.

As usual, review&testing very much welcome.

Thanks,
Daniel

Daniel Vetter (7):
drm/i915: Avoid the gpu reset vs. modeset deadlock drm/i915: Push i915_sw_fence_wait into the nonblocking atomic commit drm/i915: More surgically unbreak the modeset vs reset deadlock drm/i915: Rip out legacy page_flip completion/irq handling drm/i915: adjust has_pending_fb_unpin to atomic
drm/i915: Remove intel_flip_work infrastructure
drm/i915: Drop unpin stall in atomic_prepare_commit

 drivers/gpu/drm/i915/i915_debugfs.c  |  70 ------
 drivers/gpu/drm/i915/i915_drv.c      |   1 -
 drivers/gpu/drm/i915/i915_drv.h      |   7 +-
 drivers/gpu/drm/i915/i915_gem.c      |   2 -
 drivers/gpu/drm/i915/i915_irq.c      | 151 ++-----------
 drivers/gpu/drm/i915/intel_display.c | 424 +++++------------------------------
 drivers/gpu/drm/i915/intel_drv.h     |  26 +--
 drivers/gpu/drm/i915/intel_sprite.c  |   8 +-
 8 files changed, 88 insertions(+), 601 deletions(-)
Signature · 6 lines
2.13.2

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