]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/nouveau: Do not override forced connector status
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 14 Jan 2025 09:57:25 +0000 (10:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:30:50 +0000 (14:30 +0200)
[ 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 <tzimmermann@suse.de>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250114100214.195386-1-tzimmermann@suse.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/nouveau/nouveau_connector.c

index 6b8ad830c03481fd1997a8092cb2ec4f25543b11..aa8e4a732b7cef1aec18457f230bf03c8afdf694 100644 (file)
@@ -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;
        }