Re: console.c unblank_screen problem

2001-04-06 Thread Mikael Pettersson
On Wed, 4 Apr 2001 13:09:11 +0200 (MET DST), Mikael Petterson wrote: > On Sun, 25 Mar 2001 18:40:03 +0200, Benjamin Herrenschmidt wrote: > > >There is a problem with the power management code for console.c > > > >The current code calls do_blank_screen(0); on PM_SUSPEND, and > >unblank_screen() o

Re: console.c unblank_screen problem

2001-04-04 Thread Benjamin Herrenschmidt
> >Thanks for this patch. I've been using it on my Dell Latitude laptop >for the last 10 days, and it has been a significant improvement. > >Before the patch: After a few days with a 2.4 kernel and RH7.0 >(XFree86-4.0.1-1 and XFree86-SVGA-3.3.6-33) the latop would >misbehave at a resume event: whe

Re: console.c unblank_screen problem

2001-04-04 Thread Mikael Pettersson
On Sun, 25 Mar 2001 18:40:03 +0200, Benjamin Herrenschmidt wrote: >There is a problem with the power management code for console.c > >The current code calls do_blank_screen(0); on PM_SUSPEND, and >unblank_screen() on PM_RESUME. > >The problem happens when X is the current display while putting th

console.c unblank_screen problem

2001-03-25 Thread Benjamin Herrenschmidt
There is a problem with the power management code for console.c The current code calls do_blank_screen(0); on PM_SUSPEND, and unblank_screen() on PM_RESUME. The problem happens when X is the current display while putting the machine to sleep. The do_blank_screen(0) code will do nothing as the co