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

Maarten Lankhorst
2017-08-30T12:17:47Z

This started out as a small set of 2 patches, but feedback made it 5. :(

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

drivers/gpu/drm/drm_atomic.c | 11 +-
drivers/gpu/drm/drm_atomic_helper.c | 270 ++++++++++++++++++++++-------------
drivers/gpu/drm/i915/i915_drv.h | 3 +-
drivers/gpu/drm/i915/intel_display.c | 93 +++---------
include/drm/drm_atomic.h | 13 +-
include/drm/drm_connector.h | 7 +
include/drm/drm_crtc.h | 23 ++-
include/drm/drm_plane.h | 8 ++
8 files changed, 242 insertions(+), 186 deletions(-)

--
2.11.0