On Wed, Feb 24, 2010 at 11:34:17PM -0500, Kevin O'Connor wrote:
On Wed, Feb 24, 2010 at 11:59:26AM +0200, Gleb Natapov wrote:
Shouldn't we make CONFIG_S3_RESUME_VGA_INIT=1 by default. Otherwise console doesn't work on Linux after resume.
As far as I can tell, a real BIOS does not call the video bios on resume. As such, enabling that define seems to be working around a problem in either the video system or Linux. I fear it will cause problems in more advanced situations (like device passthrough in KVM).
As such, I don't think it should be enabled by default.
Googling "Run VGA Bios if S3 Resume" suggest that there are real BIOSes that run video bios on resume. I don't see how resume can work otherwise for non-GUI setups.
-- Gleb.