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

Alex Deucher alexdeucher at gmail.com
Tue Aug 17 14:24:55 PDT 2010


On Fri, Aug 13, 2010 at 6:38 AM, Andy Furniss <andyqos at ukfsn.org> wrote:
> Jon Sturm wrote:
>
>> ut2004 has been having issues for a while so I wouldn't blame this
>> patch 100%, Then again my issues seem to be similar to
>> https://bugs.freedesktop.org/show_bug.cgi?id=27443 which may or may
>> not be related.
>
> Only having the demo and not seriously playing all levels (or much at all) I
> haven't hit that one.
>
> This one does seem to be down to the patch. If you have the full game it
> could be things are different, as it's actually the nvidia ad that the demo
> starts with the provokes this. Doom3 demo I can get into a saved game, but
> it dies with the same error after about 10 secs.
>
> Both work with the same d-r-t without the patch.

Does reverting this part of the patch fix it?

@@ -1055,10 +1055,10 @@ static void r600_texture_size(unsigned nfaces,
unsigned blevel, unsigned nlevels
       }
       *l0_size = ALIGN((w0 * bpe), pitch_align) * h0 * d0;
       *mipmap_size = offset;
-       if (!blevel)
-               *mipmap_size -= *l0_size;
       if (!nlevels)
               *mipmap_size = *l0_size;
+       if (!blevel)
+               *mipmap_size -= *l0_size;
 }


> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>


More information about the dri-devel mailing list