video_get_options(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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