Created attachment 285189 [details] Add vga_switcheroo option You might know that there are laptops with more than one video adapter. People use vga_switcheroo to disable one of those adapters to conserve battery power. It's a good idea to switch adapters as early as possible. Initramfs seems to be a good place to do this. With attached patch it is possible to use, for example, "vga_switcheroo=IGD,OFF" to switch to integrated videocard and disable another one.
Sorry, I forgot about documentation. I don't know, maybe it's better to squash theese three patches into a single commit...
Created attachment 285197 [details, diff] Document "vga_switcheroo" option
Created attachment 285199 [details, diff] Tell user about "vga_switcheroo" option
Created attachment 310155 [details, diff] Do not use parse_opt Still hoping, someone will notice this patch...
Comment on attachment 310155 [details, diff] Do not use parse_opt Looks broken, please re-upload a checked version.
Created attachment 310307 [details, diff] Do not use parse_opt Reuploading.