Re: [PATCH] drivers:gpu:vga_switcheroo: Work around dramatic powerdrain in laptops

From: Alan Cox
Date: Sat Apr 28 2012 - 17:07:18 EST


> This patch adds an experimental module parameter that causes
> vga_switcheroo to disable all inactive VGA cards after a resume
> to save power and avoid lockups/GPU freezes. This has been tested
> on a Sony VAIO laptop with Intel HD3000 and Ati Radeon 6630M GPU.

The module parameter is probably the wrong long term option. Do you know
if the problem is general or specific to some laptops. If it's the latter
then it might also be worth implementing a DMI and/or PCI detection
routine to match the laptops you know are afflicted and automatically
enabled it.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/