[PATCH] drm/radeon/kms: r600 CS parser fixes

Andy Furniss andyqos at ukfsn.org
Thu Sep 9 03:27:27 PDT 2010


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.


More information about the dri-devel mailing list