summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-03-03 10:17:38 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-08 11:04:27 +0100
commitff19b7867fcaa00638018e116c63aba75c4b07ba (patch)
tree7089e51a129104d3a7357086f02458acc30cb75c /include
parentb282e969b19997c8ff03f8ef9a6e765e7199093a (diff)
drm/atomic: Always call steal_encoder, v2.
There's no need to have a separate function to get the crtc which is stolen, this can already be found when actually stealing the encoder. drm_for_each_connector already checks for connection_mutex, so use that macro now. Changes since v1: - Do not check for NULL crtc in connector_state, this may happen when a crtc is disabled and its encoder stolen. - Because of this, use connector->state->crtc instead of conn_state->crtc. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1456996662-8704-4-git-send-email-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions