From: Zhenyu Wang Subject: Re: [PATCH 2/8] drm/i915: remove LBB config save/restore Date: Tue, 22 Mar 2011 09:29:14 +0800 Message-ID: <20110322012914.GJ27541@zhen-devel.sh.intel.com> References: <1300699639-23996-1-git-send-email-zhenyuw@linux.intel.com> <1300699639-23996-3-git-send-email-zhenyuw@linux.intel.com> <20110321103601.5312ef35@jbarnes-desktop> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1398922967==" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id CEEDE9E747 for ; Mon, 21 Mar 2011 18:29:15 -0700 (PDT) In-Reply-To: <20110321103601.5312ef35@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1398922967== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IbVRjBtIbJdbeK1C" Content-Disposition: inline --IbVRjBtIbJdbeK1C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011.03.21 10:36:01 -0700, Jesse Barnes wrote: > On Mon, 21 Mar 2011 17:27:13 +0800 > Zhenyu Wang wrote: >=20 > > we don't use it anywhere. > >=20 > > Signed-off-by: Zhenyu Wang > > --- > > drivers/gpu/drm/i915/i915_suspend.c | 4 ---- > > 1 files changed, 0 insertions(+), 4 deletions(-) > >=20 > > diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915= /i915_suspend.c > > index 0521ecf..422981b 100644 > > --- a/drivers/gpu/drm/i915/i915_suspend.c > > +++ b/drivers/gpu/drm/i915/i915_suspend.c > > @@ -795,8 +795,6 @@ int i915_save_state(struct drm_device *dev) > > struct drm_i915_private *dev_priv =3D dev->dev_private; > > int i; > > =20 > > - pci_read_config_byte(dev->pdev, LBB, &dev_priv->saveLBB); > > - > > /* Hardware status page */ > > dev_priv->saveHWS =3D I915_READ(HWS_PGA); > > =20 > > @@ -844,8 +842,6 @@ int i915_restore_state(struct drm_device *dev) > > struct drm_i915_private *dev_priv =3D dev->dev_private; > > int i; > > =20 > > - pci_write_config_byte(dev->pdev, LBB, dev_priv->saveLBB); > > - > > /* Hardware status page */ > > I915_WRITE(HWS_PGA, dev_priv->saveHWS); >=20 > This may affect older platforms and prevent backlight save/restore? At > least I think that's why we added it in the first place... >=20 oh, I just grep it's not used any more, or we plan to add it back? --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --IbVRjBtIbJdbeK1C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk2H+2oACgkQsQQaM014GCdl1ACeOfBktBuGhcZ5ZIfh7akirC5V 59YAmwYVYcMB2MFYDYXl6z++IDyyGecs =Bc/2 -----END PGP SIGNATURE----- --IbVRjBtIbJdbeK1C-- --===============1398922967== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1398922967==--