Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.0-rc4 24 lines 480 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/module.h> 4#include <linux/types.h> 5 6static bool drm_nomodeset; 7 8bool drm_firmware_drivers_only(void) 9{ 10 return drm_nomodeset; 11} 12EXPORT_SYMBOL(drm_firmware_drivers_only); 13 14static int __init disable_modeset(char *str) 15{ 16 drm_nomodeset = true; 17 18 pr_warn("Booted with the nomodeset parameter. Only the system framebuffer will be available\n"); 19 20 return 1; 21} 22 23/* Disable kernel modesetting */ 24__setup("nomodeset", disable_modeset);