From: Javier Martinez Canillas Date: Wed, 3 Nov 2021 12:28:05 +0000 (+0100) Subject: drm/i915: Fix comment about modeset parameters X-Git-Tag: block-5.17-2022-01-21~94^2~19^2~94 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=565edeee70db754e2e337ccd941f2dc10d276691;p=linux-2.6-block.git drm/i915: Fix comment about modeset parameters The comment mentions that the KMS is enabled by default unless either the i915.modeset module parameter or vga_text_mode_force boot option are used. But the latter does not exist and instead the nomodeset option was meant. Signed-off-by: Javier Martinez Canillas Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20211103122809.1040754-2-javierm@redhat.com --- diff --git a/drivers/gpu/drm/i915/i915_module.c b/drivers/gpu/drm/i915/i915_module.c index ab2295dd4500..c7507266aa83 100644 --- a/drivers/gpu/drm/i915/i915_module.c +++ b/drivers/gpu/drm/i915/i915_module.c @@ -24,8 +24,8 @@ static int i915_check_nomodeset(void) /* * Enable KMS by default, unless explicitly overriden by - * either the i915.modeset prarameter or by the - * vga_text_mode_force boot option. + * either the i915.modeset parameter or by the + * nomodeset boot option. */ if (i915_modparams.modeset == 0)