diff options
author | 2021-11-12 14:32:28 +0100 | |
---|---|---|
committer | 2021-11-27 13:52:28 +0100 | |
commit | e9aeeba26a8de1f553305722d017022ae7e79280 (patch) | |
tree | b3b938920aca305d2a1a90efd7669b01c7bd091c /include/drm | |
parent | drm: Move nomodeset kernel parameter to the DRM subsystem (diff) | |
download | linux-e9aeeba26a8de1f553305722d017022ae7e79280.tar.gz linux-e9aeeba26a8de1f553305722d017022ae7e79280.tar.bz2 linux-e9aeeba26a8de1f553305722d017022ae7e79280.zip |
drm: Decouple nomodeset from CONFIG_VGA_CONSOLE
This relationship was only for historical reasons and the nomodeset option
should be available even on platforms that don't enable CONFIG_VGA_CONSOLE.
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-5-javierm@redhat.com
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_drv.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index 89e26a732175..da0c836fe8e1 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h @@ -601,10 +601,6 @@ static inline bool drm_drv_uses_atomic_modeset(struct drm_device *dev) int drm_dev_set_unique(struct drm_device *dev, const char *name); -#ifdef CONFIG_VGA_CONSOLE extern bool drm_firmware_drivers_only(void); -#else -static inline bool drm_firmware_drivers_only(void) { return false; } -#endif #endif |