drm/i915: Update atomic state when removing mst connector, v3.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 6 Aug 2015 11:47:36 +0000 (13:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 15:50:31 +0000 (17:50 +0200)
commit20fae983c6667d038e810c618e3340946b8dc506
treefab9d7c9ad1688430977b750e1c616272aebeb55
parentee165b1a6e0269e5badde679f72fe39d3d15a7d4
drm/i915: Update atomic state when removing mst connector, v3.

Fully remove the MST connector from the atomic state, and remove the
early returns in check_*_state for MST connectors.

With atomic the state can be made consistent all the time.

Thanks to Sivakumar Thulasimani for the idea of using
drm_atomic_helper_set_config.

Changes since v1:
- Remove the MST check in intel_connector_check_state too.
Changes since v2:
- Use drm_atomic_helper_set_config.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp_mst.c