]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Do not unset crtc when an encoder is stolen
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 7 Jan 2016 09:59:21 +0000 (10:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Feb 2016 10:21:06 +0000 (11:21 +0100)
commit6be075f8f8ddcaec0340b5529f1b616423bab33f
tree0dc27fb9700f40b641cfafb96b114d90622d7aa9
parent690ce1a648cce9c16fe9b1790eeebd0a74cad681
drm/atomic: Do not unset crtc when an encoder is stolen

While we steal the encoder away from the connector the connector may
be updated to use a different encoder.

Without this change if 2 connectors swap encoders one of them will
end up without a crtc.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1452160762-30487-5-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_atomic_helper.c