OSDN Git Service

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, 15 Nov 2022 18:18:41 +0000 (19:18 +0100)
commit0a3e0fb8cfee4f45f1b1f3d4d028a4519c89d577
tree0042cbf7a3c512e7169b5832945203512c2c69be
parenteca13f3c67b6ddfcc61fdb9bb1c5f9a7724e2359
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