Maarten Maathuis
2009-Mar-11 19:07 UTC
[Nouveau] [NV50] application to confirm texture layout
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
Maarten Maathuis
2009-Mar-11 19:09 UTC
[Nouveau] [NV50] application to confirm texture layout
I forgot to say it isn't a fast program, so be prepared to wait at least a few minutes for every run. Maarten.
Maybe Matching Threads
- [PATCH 1/5] nv50: implement wfb
- [PATCH v3] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
- [PATCH v4 2/2] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
- [PATCH v4 2/2] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
- [PATCH v4 2/2] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI