Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"
authorSimon Ser <contact@emersion.fr>
Mon, 17 Oct 2022 15:31:57 +0000 (15:31 +0000)
committerSimon Ser <contact@emersion.fr>
Tue, 25 Oct 2022 07:45:19 +0000 (09:45 +0200)
commit754c2a528fb974d0a6b310b51e2b3e64a1cf4ab0
treeb9759cbb3a3dfde6174d7f2196823a2585076d89
parent27b2ae654370e1a8e446b0e48c4e406abed12ca1
Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"

This reverts commit 981f09295687f856d5345e19c7084aca481c1395.

It turns out this causes logically active but disconnected DP MST
connectors to disappear from the KMS resources list, and Mutter
then assumes the connector is already disabled. Later on Mutter tries
to re-use the same CRTC but fails since on the kernel side it's still
tied to the disconnected DP MST connector.

Signed-off-by: Simon Ser <contact@emersion.fr>
Tested-by: Jonas Ã…dahl <jadahl@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017153150.60675-1-contact@emersion.fr
drivers/gpu/drm/drm_mode_config.c