Skip to content

Commit db08490

Browse files
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 <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Acked-by: Jani Nikula <[email protected]> Acked-by: Pekka Paalanen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent b22a15a commit db08490

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gpu/drm/drm_nomodeset.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ static int __init disable_modeset(char *str)
1515
{
1616
drm_nomodeset = true;
1717

18-
pr_warn("You have booted with nomodeset. This means your GPU drivers are DISABLED\n");
19-
pr_warn("Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly\n");
20-
pr_warn("Unless you actually understand what nomodeset does, you should reboot without enabling it\n");
18+
pr_warn("Booted with the nomodeset parameter. Only the system framebuffer will be available\n");
2119

2220
return 1;
2321
}

0 commit comments

Comments
 (0)