drm/atomic: Clean up update_connector_routing.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 3 Mar 2016 09:17:42 +0000 (10:17 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Mar 2016 10:07:53 +0000 (11:07 +0100)
commit9b8d1e53f6da63920ba569405b8d57ddbb42a988
tree48ba077423db54931007416e04d0ee874e49d6a8
parentec5aaa586fe0d826b6e65a60756b9bbf4d93e011
drm/atomic: Clean up update_connector_routing.

connector_state->crtc can no longer be unset by accident,
so that check can be removed. The other code open-codes
drm_atomic_get_existing_crtc_state, so use that.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: Resolve tiny conflict due to gcc warning fix on previous
patch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c