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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon Sep 4 10:48:32 UTC 2017


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(-)

-- 
2.11.0



More information about the dri-devel mailing list