Skip to content
Commit a5d52075 authored by Michael Tretter's avatar Michael Tretter Committed by Wujian Sun
Browse files

backend-drm: schedule connector disable for detached head



Currently, if a head is detached, the entire state of the device is invalidated
to make sure that the connector is disabled on the next atomic commit. Side
effect of the invalid state is that all planes are disabled on the next commit.
This includes planes that are used with a different head that is not part of the
next atomic commit. Disabling the planes of unrelated outputs causes a blanking
of these outputs until output is repainted and the plane is reenabled.

Store the detached heads in a list on the output and disable the connectors for
all heads in this list in the next atomic commit.

Signed-off-by: Michael Tretter's avatarMichael Tretter <m.tretter@pengutronix.de>
(cherry picked from commit bcacd9ec)
parent 78852bd3
Loading
Loading
Loading
Pipeline #937087 passed with stages
in 3 minutes and 56 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment