video_get_options(9)
π video_get_options(9) π
okay bestie, welcome to the Kernel API Manual, section 9 β this one is all about grabbing kernel boot parameters, and itβs lowkey iconic. π
πΈ NAME πΈ
video_get_options β get kernel boot parameters
β¨ SYNOPSIS β¨
const char * video_get_options (const char *name );
π ARGUMENTS π
nameβ the name of the output, exactly like it would show up in the boot parameter line:video=<name>:<options>π«Ά
π¦ DESCRIPTION π¦
So this function looks up the video= options for whatever name you pass in. With DRM, those names are connector names; with fbdev, theyβre driver names. No cap. π₯
If no video option has been specified for that name, the function returns the global video= setting. And if name is NULL? It always returns the global video setting. periodt. π
π RETURN π
It gives you the string of video options for the given name β or NULL if no video option has been specified. Thatβs the whole vibe check. β¨
π SEE ALSO π
Kernel file ./drivers/video/cmdline.c β go read it, iykyk π
and thatβs the page, bestie π source/version: ./drivers/video, dated October 2026 β catch you in video_get_options(9) again soon ππ¦πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms