[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211112133230.1595307-7-javierm@redhat.com>
Date: Fri, 12 Nov 2021 14:32:30 +0100
From: Javier Martinez Canillas <javierm@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Jani Nikula <jani.nikula@...el.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Peter Robinson <pbrobinson@...il.com>,
Michel Dänzer <michel@...nzer.net>,
dri-devel@...ts.freedesktop.org,
Thomas Zimmermann <tzimmermann@...e.de>,
Pekka Paalanen <pekka.paalanen@...labora.com>,
Javier Martinez Canillas <javierm@...hat.com>
Subject: [PATCH v5 6/6] drm: Make the nomodeset message less sensational
The message printed when nomodeset is present in the kernel command line
makes it look as if the parameter must never be used and it's a bad idea.
But there are valid reasons to use this parameter and the message should
not imply otherwise. Change the text to be more accurate and restrained.
Suggested-by: Thomas Zimmermann <tzimmermann@...e.de>
Signed-off-by: Javier Martinez Canillas <javierm@...hat.com>
Acked-by: Thomas Zimmermann <tzimmermann@...e.de>
Acked-by: Jani Nikula <jani.nikula@...el.com>
Acked-by: Pekka Paalanen <pekka.paalanen@...labora.com>
---
(no changes since v4)
Changes in v4:
- Don't mention DRM drivers in the kernel message and instead explain
that only the system framebuffer will be available.
drivers/gpu/drm/drm_nomodeset.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git drivers/gpu/drm/drm_nomodeset.c drivers/gpu/drm/drm_nomodeset.c
index 287edfb18b5d..f3978d5bd3a1 100644
--- drivers/gpu/drm/drm_nomodeset.c
+++ drivers/gpu/drm/drm_nomodeset.c
@@ -15,9 +15,7 @@ static int __init disable_modeset(char *str)
{
drm_nomodeset = true;
- pr_warn("You have booted with nomodeset. This means your GPU drivers are DISABLED\n");
- pr_warn("Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly\n");
- pr_warn("Unless you actually understand what nomodeset does, you should reboot without enabling it\n");
+ pr_warn("Booted with the nomodeset parameter. Only the system framebuffer will be available\n");
return 1;
}
--
2.33.1
Powered by blists - more mailing lists