Thomas Zimmermann <tzimmermann@xxxxxxx> writes: > Handle the command-line parameter video= in video/cmdline.c. Implement > the fbdev helper fb_get_options() on top. Will allows to handle the > kernel parameter in DRM without fbdev dependencies. > > Note that __video_get_options() has the meaning of its return value > inverted compared to fb_get_options(). The new helper returns true if > the adapter has been enabled, and false otherwise. > > There is the ofonly parameter, which disables output for non-OF-based > framebuffers. It is only for offb and looks like a workaround. The actual > purpose it not clear to me. Use 'video=off' or 'nomodeset' instead. > s/it/is > Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx> > --- [..] > +#include <linux/fb.h> /* for FB_MAX */ I believe including <uapi/linux/fb.h> is enough here. Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx> Best regards, Javier