From: Javier Martinez Canillas Date: Fri, 12 Nov 2021 13:32:30 +0000 (+0100) Subject: drm: Make the nomodeset message less sensational X-Git-Tag: v5.17-rc1~173^2~18^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db08490fc4b6695ada6c21e40343307f08d9620e;p=thirdparty%2Flinux.git 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 Signed-off-by: Javier Martinez Canillas Acked-by: Thomas Zimmermann Acked-by: Jani Nikula Acked-by: Pekka Paalanen Link: https://patchwork.freedesktop.org/patch/msgid/20211112133230.1595307-7-javierm@redhat.com --- diff --git a/gpu/drm/drm_nomodeset.c b/gpu/drm/drm_nomodeset.c index 287edfb18b5d7..f3978d5bd3a1d 100644 --- a/gpu/drm/drm_nomodeset.c +++ b/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; }