From: Paul Menzel Subject: Re: [PATCH] radeon: fix tile_split of 128-bit surface formats with 8x MSAA Date: Tue, 16 Oct 2012 08:50:06 +0200 Message-ID: <1350370206.4713.12.camel@mattotaupa> References: <1350346873-10289-1-git-send-email-maraeo@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1323008642==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 821549E775 for ; Mon, 15 Oct 2012 23:50:14 -0700 (PDT) In-Reply-To: <1350346873-10289-1-git-send-email-maraeo@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: Marek =?UTF-8?Q?Ol=C5=A1=C3=A1k?= Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1323008642== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rOlhZ22BIBW7AG4/a71D" --=-rOlhZ22BIBW7AG4/a71D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Marek, Am Dienstag, den 16.10.2012, 02:21 +0200 schrieb Marek Ol=C5=A1=C3=A1k: > The calculation led to the number 8192, which is too high. what is the reason it is limited to 4096? Hardware limitation? What are the ramifications? GPU hangs, rendering errors? > --- > radeon/radeon_surface.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c > index 66c2444..eb587d2 100644 > --- a/radeon/radeon_surface.c > +++ b/radeon/radeon_surface.c > @@ -939,6 +939,8 @@ static int eg_surface_best(struct radeon_surface_mana= ger *surf_man, > } else { > /* tile split must be >=3D 256 for colorbuffer surfaces */ > surf->tile_split =3D MAX2(surf->nsamples * surf->bpe * 64, 2= 56); > + if (surf->tile_split > 4096) > + surf->tile_split =3D 4096; > } > } else { > /* set tile split to row size */ Thanks, Paul --=-rOlhZ22BIBW7AG4/a71D 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) iEYEABECAAYFAlB9A54ACgkQPX1aK2wOHVhPIACdFtX2aricox+Ot4nTH8V6F0YJ b4sAn2QUAbN/xjXxovUKBdSa0e8AuBvW =IdIn -----END PGP SIGNATURE----- --=-rOlhZ22BIBW7AG4/a71D-- --===============1323008642== 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 --===============1323008642==--