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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 20 Apr 2016 05:03:45 +0000 (01:03 -0400)
commitfc72648861fe32b02aa3052815dbd1b5b1bb2675
tree772615cdd24b39a2774cd8dfaef785abd2285185
parent2d6e4631986ca03cde760acd1c76181559ddc997
drm/i915: Update atomic state when removing mst connector, v3.

[ Upstream commit 20fae983c6667d038e810c618e3340946b8dc506 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp_mst.c