Re: Current suspend issues on Lenovo X200
From: Nico -telmich- Schottelius
Date: Fri Nov 14 2008 - 10:15:32 EST
Jesse Barnes [Wed, Nov 12, 2008 at 10:24:44AM -0800]:
> On Saturday, October 25, 2008 7:53 am Nico -telmich- Schottelius wrote:
> > Jesse Barnes [Fri, Oct 24, 2008 at 11:23:17AM -0700]:
> > > On Friday, October 24, 2008 7:28 am Andres Freund wrote:
> > > > Hi Nico,
> > > >
> > > > On Thursday 23 October 2008 22:43:26 Nico -telmich- Schottelius wrote:
> > > > > - 2.6.27-next-20081023:
> > > > > -> no X running (because xorg does not work with that kernel)
> > > >
> > > > I think what you need is one rather short fix for the intel xorg
> > > > driver:
> > > >
> > > > diff --git a/src/i830_driver.c b/src/i830_driver.c
> > > > index c1d61f4..eaf5d27 100644
> > > > --- a/src/i830_driver.c
> > > > +++ b/src/i830_driver.c
> > > > @@ -502,8 +502,8 @@ I830DetectMemory(ScrnInfoPtr pScrn)
> > > > range = gtt_size + 4;
> > > >
> > > > /* new 4 series hardware has seperate GTT stolen with GFX stolen */
> > > > - if (IS_G4X(pI830))
> > > > - range = 0;
> > > > + if (IS_G4X(pI830) || IS_GM45(pI830))
> > > > + range = 4;
> > > >
> > > > if (IS_I85X(pI830) || IS_I865G(pI830) || IS_I9XX(pI830)) {
> > > > switch (gmch_ctrl & I855_GMCH_GMS_MASK) {
> > > >
> > > > (Out of the "[git pull] agp patches for 2.6.28-rc1" thread)
> > >
> > > Something like this might also help.
> > >
> > > G4x chips do their own memory arbitration management, so we shouldn't
> > > trying to save/restore the DSPARB reg.
> >
> > I'm a bit confused. Which of both patches against 2.6.28-rc1 should I try?
>
> Have you tried recent (last few days) git bits of the kernel and xf86-video-
> intel?
Yep, sorry, opened a new thread. Issue got better (console works without s3_bios),
but xorg still reboots the system. I'll try the referenced workaround at
http://ubuntuforums.org/showpost.php?p=6105510&postcount=12
Nico
--
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/
PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
Attachment:
signature.asc
Description: Digital signature