From: Paul Menzel Subject: Re: [PATCH] drm/radeon: properly program gart on rv740, juniper, cypress, barts Date: Fri, 01 Jun 2012 09:37:25 +0200 Message-ID: <1338536245.4222.16.camel@mattotaupa> References: <1338504883-9483-1-git-send-email-alexdeucher@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0930421677==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id C2F429E7B1 for ; Fri, 1 Jun 2012 00:37:34 -0700 (PDT) In-Reply-To: <1338504883-9483-1-git-send-email-alexdeucher@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: alexdeucher@gmail.com Cc: Alex Deucher , stable@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0930421677== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-TsiZAME8ZF29gEXHsZM/" --=-TsiZAME8ZF29gEXHsZM/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Donnerstag, den 31.05.2012, 18:54 -0400 schrieb alexdeucher@gmail.com: > From: Alex Deucher >=20 > Need to program an additional VM register. This doesn't not currently > cause any problems, but allows us to program the proper backend > map in a subsequent patch which should improve performance on these > asics. >=20 > Signed-off-by: Alex Deucher > Cc: stable@vger.kernel.org > --- > drivers/gpu/drm/radeon/evergreen.c | 5 +++++ > drivers/gpu/drm/radeon/evergreend.h | 1 + > drivers/gpu/drm/radeon/rv770.c | 2 ++ > drivers/gpu/drm/radeon/rv770d.h | 1 + > 4 files changed, 9 insertions(+), 0 deletions(-) >=20 > diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/= evergreen.c > index 5d9c2c6..0408ac2 100644 > --- a/drivers/gpu/drm/radeon/evergreen.c > +++ b/drivers/gpu/drm/radeon/evergreen.c > @@ -1029,6 +1029,11 @@ int evergreen_pcie_gart_enable(struct radeon_devic= e *rdev) > WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); > WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); > WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); > + if ((rdev->family =3D=3D CHIP_JUNIPER) || > + (rdev->family =3D=3D CHIP_CYPRESS) || > + (rdev->family =3D=3D CHIP_HEMLOCK) || Is rv740 in the commit summary Hemlock? > + (rdev->family =3D=3D CHIP_BARTS)) > + WREG32(MC_VM_MD_L1_TLB3_CNTL, tmp); > } [=E2=80=A6] Thanks, Paul --=-TsiZAME8ZF29gEXHsZM/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAk/IcTUACgkQPX1aK2wOHVh3uwCdF8d8LUMsvdeP/ZL8H0W2Rwvm VXkAnArL0qFHRCGQaFoZRNEXNKrL4NPu =kTqi -----END PGP SIGNATURE----- --=-TsiZAME8ZF29gEXHsZM/-- --===============0930421677== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0930421677==--