Other kernel boot arguments

Linux Drivers

Release Date
2023-07-22
kernel-parameters.txt
  • cma=256M : The size and start/end address range for the CMA reserved area can be specified through this arguments. Note, the CMA area is shared for normal non-contiguous allocation (movable pages), but will come with some maintenance cost (ex, moving pages at allocation).
  • consoleblank=600 : The console blank (screen saver) timeout in seconds. Defaults to 10*60 = 10mins. A value of 0 disables the blank timer.
  • video=DP-1:1280x1024@60 : Frame buffer configuration. See Documentation/fb/modedb.rst . The command in this line will set the fbdev on DP-1 at 1280x1024@60 mode.
  • drm.debug=0 : "Enable debug output, where each bit enables a debug category.\n" Enable the debug messages from DRM core (ex, available bit values, 0x1, 0x2, 0x4, 0x8,0x10, 0x20)"
  • drm_kms_helper.fbdev_emulation=true : "Enable legacy fbdev emulation [default=true]" To enable / disable the fbdev emulation of DRM
  • drm_kms_helper.poll=true : Enable the periodic polling of the HPD / connection with a monitor.
Usage
bootargs "drm.debug=0x2f drm_kms_helper.fbdev_emulation=false"
cat /sys/module/drm/parameters/debug
echo 0x2f > /sys/module/drm/parameters/debug