First 2 patches are fixes for a missing connector_state->connector. The atomic code doesn't use it currently but with these patches it causes a null pointer dereference.
It's useful to know from the crtc_state what connectors and encoders are attached. This makes it possible to do iterations over connectors and encoders with just the crtc_state. The drm/tegra patch is compile tested only. Maarten Lankhorst (9): drm/i915: Set connector_state->connector correctly. drm/tegra: Assign conn_state->connector when allocating connector state. drm/core: Add drm_encoder_index. drm/core: Add drm_for_each_encoder_mask. drm/atomic: add connector mask to drm_crtc_state. drm/i915: Update connector_mask during readout. drm/atomic: Small documentation fix. drm/atomic: Remove drm_atomic_connectors_for_crtc. drm/atomic: Add encoder_mask to crtc_state. drivers/gpu/drm/drm_atomic.c | 42 +++++++++++------------------------- drivers/gpu/drm/drm_atomic_helper.c | 13 ++++++----- drivers/gpu/drm/drm_crtc.c | 23 ++++++++++++++++++++ drivers/gpu/drm/i915/intel_display.c | 16 +++++++++++--- drivers/gpu/drm/tegra/dsi.c | 4 +++- drivers/gpu/drm/vc4/vc4_crtc.c | 2 +- include/drm/drm_atomic.h | 4 ---- include/drm/drm_crtc.h | 17 +++++++++++++++ 8 files changed, 75 insertions(+), 46 deletions(-) -- 2.1.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx