aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_drv.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2021-11-12 14:32:28 +0100
committerJavier Martinez Canillas <javierm@redhat.com>2021-11-27 13:52:28 +0100
commite9aeeba26a8de1f553305722d017022ae7e79280 (patch)
treeb3b938920aca305d2a1a90efd7669b01c7bd091c /include/drm/drm_drv.h
parentdrm: Move nomodeset kernel parameter to the DRM subsystem (diff)
downloadlinux-dev-e9aeeba26a8de1f553305722d017022ae7e79280.tar.xz
linux-dev-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/drm_drv.h')
-rw-r--r--include/drm/drm_drv.h4
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