Skip to content

drm/atomic: Fix use-after-free with unbound connectors/planes.

Maarten Lankhorst dri-devel intel-gfx linux-tegra 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesIn review
  2. v15 patches 20 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915: Always wait for flip_done, v2.drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c+8 -792 replies
2/6drm/atomic: Move drm_crtc_commit to drm_crtc_state, v3.drivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_atomic_helper.c include/drm/drm_atomic.h +1 more+40 -552 replies
3/6drm/atomic: Remove waits in drm_atomic_helper_commit_cleanup_done, v2.drivers/gpu/drm/drm_atomic_helper.c+0 -170 replies
4/6drm/atomic: Return commit in drm_crtc_commit_get for better annotationdrivers/gpu/drm/drm_atomic_helper.c include/drm/drm_atomic.h+6 -31 reply
5/6drm/atomic: Fix freeing connector/plane state too early by tracking commits, v3.drivers/gpu/drm/drm_atomic.c drivers/gpu/drm/drm_atomic_helper.c drivers/gpu/drm/i915/intel_display.c +3 more+198 -62 replies
6/6drm/atomic: Make async plane update checks work as intended, v2.drivers/gpu/drm/drm_atomic_helper.c drivers/gpu/drm/i915/intel_display.c include/drm/drm_plane.h+35 -504 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchDaniel VetterGustavo PadovanDmitry Osipenko
1/6R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] drm/atomic: Fix use-after-free with unbound connectors/planes.

New iteration with all feedback hopefully addressed.

Maarten Lankhorst (6):
drm/i915: Always wait for flip_done, v2.
drm/atomic: Move drm_crtc_commit to drm_crtc_state, v3. drm/atomic: Remove waits in drm_atomic_helper_commit_cleanup_done, v2. drm/atomic: Return commit in drm_crtc_commit_get for better annotation drm/atomic: Fix freeing connector/plane state too early by tracking
commits, v3.
drm/atomic: Make async plane update checks work as intended, v2.

 drivers/gpu/drm/drm_atomic.c         |  11 +-
 drivers/gpu/drm/drm_atomic_helper.c  | 293 +++++++++++++++++++++++------------
 drivers/gpu/drm/i915/i915_drv.h      |   3 +-
 drivers/gpu/drm/i915/intel_display.c | 109 +++----------
 include/drm/drm_atomic.h             |  19 ++-
 include/drm/drm_connector.h          |   7 +
 include/drm/drm_crtc.h               |  23 ++-
 include/drm/drm_plane.h              |   8 +
 8 files changed, 275 insertions(+), 198 deletions(-)
Signature · 6 lines
2.11.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel