drm/i915: fail module probe on nomodeset and i915.modeset=0
authorJani Nikula <jani.nikula@intel.com>
Wed, 28 Aug 2024 11:19:08 +0000 (14:19 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 29 Aug 2024 14:53:02 +0000 (17:53 +0300)
commitb2fcb48214980adf6687dda84fa33f01e9a47e28
treefbb150a7007d581968b9931ed703d50a7199f621
parentb5d4657e192ba7a3f21fc397cf5d169982b4ec0c
drm/i915: fail module probe on nomodeset and i915.modeset=0

Since commit b30324adaf8d ("drm/i915: Deprecated UMS support") we've
silently failed the probe, without propagating errors, on nomodeset and
i915.modeset=0. This has been to not upset userspace. See the above
commit for details.

Since then, we've removed both the UMS and KMS kconfig options in commit
03dae59c72ff ("drm/i915: Ditch UMS config option") and commit
fd930478fb79 ("drm/i915: Remove KMS Kconfig option") respectively.

Another ten years or so have passed. Continue with the deprecation by
actually failing the probe with nomodeset and i915.modeset=0.

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