drm/atomic: Make add_affected_connectors look at crtc_state.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 16 Jan 2017 09:37:39 +0000 (10:37 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Feb 2017 20:01:35 +0000 (21:01 +0100)
commit5351bbdd19a6fe01b1d9fef835d3b3f38cba1461
tree4549609bf6ddd356de8834ecd7673478a43c46a2
parent581e49fe6b411f407102a7f2377648849e0fa37f
drm/atomic: Make add_affected_connectors look at crtc_state.

This kills another dereference of connector->state. connector_mask
holds all unchanged connectors at least and any changed connectors
are already in state anyway.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1484559464-27107-3-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_atomic.c