[Mesa-dev] [PATCH] r600g: Lower the minimum stride from 512 to 256 bytes to fix bug #31578.

Keith Whitwell keith.whitwell at gmail.com
Tue Nov 16 08:35:51 PST 2010


On Mon, Nov 15, 2010 at 9:46 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
> On Mon, Nov 15, 2010 at 4:41 PM, Tilman Sauerbeck <tilman at code-monkey.de> wrote:
>> piglit/fbo-readpixels still passes for me.
>>
>> Signed-off-by: Tilman Sauerbeck <tilman at code-monkey.de>
>> ---
>>
>> Please review. And someone please tell me where those 512 and 256 bytes
>> are coming from :)
>
> The alignment depends on the type of tiling in use (linear, 1d, 2d).
> See this drm patch for more info:
> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=fba4312e223f1187efc8c083daed70e57fa9c9d3
> The info needed can be queried via the tiling info ioctl.

I found the documentation on this pretty hard to follow, but the
kernel code seems to make sense.

Keith


More information about the mesa-dev mailing list