lkml.org 
[lkml]   [2002]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2.5.12] x86 Boot enhancements, boot params 1/11
From
Date
Pavel Machek <pavel@suse.cz> writes:

> Hi!
>
> > > > #5 boot.heap
> > > > ============================================================
> > > > Modify video.S so that mode_list is also allocated from
> > > > the boot time heap. This probably saves a little memory,
> > > > and makes a compiled in command line a sane thing to implement.
> > >
> > > Do you see easy way to pass video mode used to kernel? S3 suspend support
> > > is going to need that..
> >
> > Do you mean something other than the vga= command line option?
> > Which actually just sets a 16bit mode in the kernel parameter structure.
>
> In case of vga=ask, it is kernel that gets number from the user,
> right?

Right.

> I'd need to know what mode was actually selected, so I can restore it
> after S3 resume.

I guess that works. In this case it makes sense for the kernel to
store it in the same variable the video mode is specified in. This
may require an extra store but it should be trivial to implement.

How are you handling the case of X and friends? Are you making
certain to switch to kernel controlled vt?

My hunch is that this is a decent argument for real framebuffer drivers
in the kernel. But that is a separate problem.

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

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.041 / U:2.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site