From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Subject: Re: [PATCH] drm/radeon/kms: r600 CS parser fixes Date: Thu, 09 Sep 2010 11:27:27 +0100 Message-ID: <4C88B68F.9070706@ukfsn.org> References: <1281077645-10775-1-git-send-email-alexdeucher@gmail.com> <4C616CC7.3070302@ukfsn.org> <4C652096.7020705@ukfsn.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.ukfsn.org (mail.ukfsn.org [77.75.108.10]) by gabe.freedesktop.org (Postfix) with ESMTP id 81AE09E775 for ; Thu, 9 Sep 2010 03:27:27 -0700 (PDT) In-Reply-To: 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: Alex Deucher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Alex Deucher wrote: > Does this patch help? > > diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c > index d886494..e83fc88 100644 > --- a/drivers/gpu/drm/radeon/r600_cs.c > +++ b/drivers/gpu/drm/radeon/r600_cs.c > @@ -1046,7 +1046,6 @@ static void r600_texture_size(unsigned nfaces, > unsigned blevel, unsigned nlevels > rowstride = ALIGN((width * bpe), pitch_align); > size = height * rowstride * depth; > offset += size; > - offset = (offset + 0x1f)& ~0x1f; > } > } > *l0_size = ALIGN((w0 * bpe), pitch_align) * h0 * d0; No. it's still the same with this.