From: Thomas Zimmermann <tzimmerm...@suse.de>

[ Upstream commit 01f1d77a2630e774ce33233c4e6723bca3ae9daa ]

Keep user-forced connector status even if it cannot be programmed. Same
behavior as for the rest of the drivers.

Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de>
Signed-off-by: Lyude Paul <ly...@redhat.com>
Link: 
https://patchwork.freedesktop.org/patch/msgid/20250114100214.195386-1-tzimmerm...@suse.de
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 drivers/gpu/drm/nouveau/nouveau_connector.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c 
b/drivers/gpu/drm/nouveau/nouveau_connector.c
index 6b8ad830c0348..aa8e4a732b7ce 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
@@ -751,7 +751,6 @@ nouveau_connector_force(struct drm_connector *connector)
        if (!nv_encoder) {
                NV_ERROR(drm, "can't find encoder to force %s on!\n",
                         connector->name);
-               connector->status = connector_status_disconnected;
                return;
        }
 
-- 
2.39.5

Reply via email to