]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: deprecate the i915.modeset module parameter
authorJani Nikula <jani.nikula@intel.com>
Wed, 28 Aug 2024 11:19:09 +0000 (14:19 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 29 Aug 2024 14:53:02 +0000 (17:53 +0300)
commita74549dd55d21612171334fb70e45241d0ce0487
treeced92904b752c5357891c206aa44b8cf04a42070
parentb2fcb48214980adf6687dda84fa33f01e9a47e28
drm/i915: deprecate the i915.modeset module parameter

The i915.modeset parameter doesn't really provide any useful benefit
over the nomodeset kernel parameter. Anything that i915.modeset does can
be achieved via nomodeset or not probing i915 at all.

Unfortunately, the i915.modeset parameter is widely referenced on
various forums, and removing it is not that simple. Start off by
deprecating it in the module parameter documentation, and logging a
warning message on non-default values.

Cc: Daniel Veter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/2c63e2048eed64f728478fbcfc84f51c7f3212e6.1724843853.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_module.c
drivers/gpu/drm/i915/i915_params.c