Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753979AbYJYPz1 (ORCPT ); Sat, 25 Oct 2008 11:55:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752443AbYJYPzQ (ORCPT ); Sat, 25 Oct 2008 11:55:16 -0400 Received: from mail.anarazel.de ([217.115.131.40]:43084 "EHLO smtp.anarazel.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752439AbYJYPzP (ORCPT ); Sat, 25 Oct 2008 11:55:15 -0400 From: Andres Freund To: "Nico -telmich- Schottelius" Subject: Re: Current suspend issues on Lenovo X200 Date: Sat, 25 Oct 2008 17:55:06 +0200 User-Agent: KMail/1.10.1 (Linux/2.6.27-andres-05577-g0cfd810; KDE/4.1.2; x86_64; ; ) Cc: Jesse Barnes , linux-next@vger.kernel.org, LKML References: <20081023204326.GB4175@denkbrett.schottelius.org> <200810241123.17883.jbarnes@virtuousgeek.org> <20081025145329.GB4273@denkbrett.schottelius.org> In-Reply-To: <20081025145329.GB4273@denkbrett.schottelius.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1398266.XEXbYssOhb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200810251755.11253.andres@anarazel.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2736 Lines: 72 --nextPart1398266.XEXbYssOhb Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Nico, On Saturday 25 October 2008 16:53:29 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: > > > 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 =3D gtt_size + 4; > > > > > > /* new 4 series hardware has seperate GTT stolen with GFX stolen = */ > > > - if (IS_G4X(pI830)) > > > - range =3D 0; > > > + if (IS_G4X(pI830) || IS_GM45(pI830)) > > > + range =3D 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? "My" patch is definitely needed to make the X intel driver work with 2.6.28- rc1. Its a patch for X and not for the kernel. Its not necessarily directly related to what you reported, but to: >=A0- 2.6.27-next-20081023: > =A0-> no X running (because xorg does not work with that kernel) It might also help to work with suspend, because seemingly (according to In= tel=20 people) its not expected that the driver works with that bug. So try the patch I posted (which is out of the upstream development version= )=20 to make X work with 2.6.28-rc1 and continue testing if X works with 2.6.28- rcx. Andres --nextPart1398266.XEXbYssOhb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkkDQVsACgkQporPraT14igBKgCfZhWBOMJ7siSvGEw8gqX/ipvK 6n8AoKNo0Jlvp2TBD9Mq530rBbbTbNSC =5L0Q -----END PGP SIGNATURE----- --nextPart1398266.XEXbYssOhb-- -- 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/