linux/include/drm
Maarten Lankhorst 5fff80bbdb drm/atomic: Allow for holes in connector state, v2.
Because we record connector_mask using 1 << drm_connector_index now
the connector_mask should stay the same even when other connectors
are removed. This was not the case with MST, in that case when removing
a connector all other connectors may change their index.

This is fixed by waiting until the first get_connector_state to allocate
connector_state, and force reallocation when state is too small.

As a side effect connector arrays no longer have to be preallocated,
and can be allocated on first use which means a less allocations in
the page flip only path.

Changes since v1:
- Whitespace. (Ville)
- Call ida_remove when destroying the connector. (Ville)
- u32 alloc -> int. (Ville)

Fixes: 14de6c44d1 ("drm/atomic: Remove drm_atomic_connectors_for_crtc.")
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Lyude <cpaul@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-02-19 13:24:03 +10:00
..
bridge
i2c
ttm
ati_pcigart.h
drmP.h
drm_agpsupport.h
drm_atomic.h
drm_atomic_helper.h
drm_cache.h
drm_core.h
drm_crtc.h
drm_crtc_helper.h
drm_displayid.h
drm_dp_helper.h
drm_dp_mst_helper.h
drm_edid.h
drm_encoder_slave.h
drm_fb_cma_helper.h
drm_fb_helper.h
drm_fixed.h
drm_flip_work.h
drm_gem.h
drm_gem_cma_helper.h
drm_global.h
drm_hashtab.h
drm_legacy.h
drm_mem_util.h
drm_mipi_dsi.h
drm_mm.h
drm_modes.h
drm_modeset_helper_vtables.h
drm_modeset_lock.h
drm_of.h
drm_os_linux.h
drm_panel.h
drm_pciids.h
drm_plane_helper.h
drm_rect.h
drm_sysfs.h
drm_vma_manager.h
exynos_drm.h
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel-gtt.h