lkml.org 
[lkml]   [2008]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] VT: Restore VT fonts on switch
On Mon, 21 Jul 2008 22:37:35 +0100
Matthew Garrett <mjg59@srcf.ucam.org> wrote:

> On Mon, Jul 21, 2008 at 10:12:04PM +0100, Alan Cox wrote:
> > > > do you have a list of which ones don't ?
> > >
> > > I don't, but perhaps Matthew does.
> >
> > Perhaps Matthew would care to file X bugs against those that get it wrong
> > then.
>
> It's hardly limited to X. Fonts are set through the kernel - why
> shouldn't it be the kernel's responsibility to ensure that they're
> restored?

Why should it be the kernels problem to clean up after buggy X drivers ?

There are cases the kernel probably should handle font restore: the
obvious one being suspend/resume. X is not one of those cases and wasting
memory on fonts on embedded boxes that will never be seen anyway seems
silly.

For suspend/resume it might be far better to do it in user space,
although I'm not sure what the interface would look like.

Alan


\
 
 \ /
  Last update: 2008-07-21 23:45    [W:0.569 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site