Skip to content

Commit

Permalink
drm: Make the nomodeset message less sensational
Browse files Browse the repository at this point in the history
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@suse.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211112133230.1595307-7-javierm@redhat.com
  • Loading branch information
Javier Martinez Canillas committed Nov 27, 2021
1 parent b22a15a commit db08490
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gpu/drm/drm_nomodeset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit db08490

Please sign in to comment.