search for: nouveau_exa_pixmap_is_tiled

Displaying 4 results from an estimated 4 matches for "nouveau_exa_pixmap_is_tiled".

2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...tions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index 4769fd9..b5eb421 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -57,7 +57,7 @@ NVAccelDownloadM2MF(PixmapPtr pspix, int x, int y, int w, int h, unsigned line_len = w * cpp; unsigned src_pitch = 0, linear = 0; - if (!nouveau_exa_pixmap_is_tiled(pspix)) { + if (!nv50_style_tiled_pixmap(pspix)) { linear = 1; src_pitch = exaGetPixmapPitch(pspix); src_offset += (y * src_pitch) + (x * cpp); @@ -175,7 +175,7 @@ NVAccelUploadM2MF(PixmapPtr pdpix, int x, int y, int w, int h, unsigned line_len = w * cpp; unsigned dst_pitch = 0, l...
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...ah = (height + 7) & ~7; + uint32_t ah = (height + 3) & ~3; flags |= NOUVEAU_BO_TILED; - devkind = ((aw * cpp) + 63) & ~63; + /* This allignment is very important. */ + devkind = (width * cpp + 63) & ~63; nvpix->size = devkind * ah; } @@ -390,8 +393,11 @@ nouveau_exa_pixmap_is_tiled(PixmapPtr ppix) NVPtr pNv = NVPTR(pScrn); if (pNv->exa_driver_pixmaps) { - if (!nouveau_pixmap_bo(ppix)->tiled) + if (!nouveau_pixmap_bo(ppix)) + return false; + if (nouveau_pixmap_bo(ppix)->tiled == 0) return false; + return true; } else if (pNv->Architecture < N...
2009 Jul 10
1
Can't build xf86-video-nouveau
...ouveau_exa.c: In function ?NVAccelUploadM2MF?: nouveau_exa.c:213: error: ?struct nouveau_bo? has no member named ?tile_mode? nouveau_exa.c: In function ?nouveau_exa_mph_broken_should_die?: nouveau_exa.c:441: warning: implicit declaration of function ?nouveau_bo_new_tile? nouveau_exa.c: In function ?nouveau_exa_pixmap_is_tiled?: nouveau_exa.c:475: error: ?struct nouveau_bo? has no member named ?tile_flags? nouveau_exa.c: In function ?nouveau_exa_pixmap_map?: nouveau_exa.c:493: error: ?struct nouveau_bo? has no member named ?tile_flags? nouveau_exa.c: In function ?nouveau_exa_pixmap_unmap?: nouveau_exa.c:521: error: ?stru...
2009 Jun 10
1
Compilation error in nouveau_exa.c
...eau_exa.c:213: error: 'struct nouveau_bo' has no member named 'tile_mode' > nouveau_exa.c: In function 'nouveau_exa_mph_broken_should_die': > nouveau_exa.c:441: warning: implicit declaration of function 'nouveau_bo_new_tile' > nouveau_exa.c: In function 'nouveau_exa_pixmap_is_tiled': > nouveau_exa.c:475: error: 'struct nouveau_bo' has no member named 'tile_flags' > nouveau_exa.c: In function 'nouveau_exa_pixmap_map': > nouveau_exa.c:493: error: 'struct nouveau_bo' has no member named 'tile_flags' > nouveau_exa.c: In func...