[Nouveau] [NV50] application to confirm texture layout

Maarten Maathuis madman2003 at gmail.com
Wed Mar 11 12:07:46 PDT 2009


Here is an app to test the texture layout.

No message means it's ok. Otherwise it spews a lot of errors.

You have to manually set the TILE_HEIGHT, TILE_WIDTH and TILING_PARAM.

TILE_WIDTH == TILE_PITCH in this case because it's 8bpp data.

Use this list (TILING_PARAM) TILE_WIDTHxTILE_HEIGHT:

(0x00) 32x4
(0x10) 64x8
(0x20) 64x16
(0x30) 64x32
(0x40) 64x64

I'm curious to know if anyone has different layouts.

You may need to sudo run it.

Maarten.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nv50_test.tar.bz2
Type: application/x-bzip2
Size: 1981 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/nouveau/attachments/20090311/ddb7e82b/attachment.bin 


More information about the Nouveau mailing list