search for: nouveau_exa_create_pixmap

Displaying 6 results from an estimated 6 matches for "nouveau_exa_create_pixmap".

2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
..., int w, int h, unsigned line_len = w * cpp; unsigned dst_pitch = 0, linear = 0; - if (!nouveau_exa_pixmap_is_tiled(pdpix)) { + if (!nv50_style_tiled_pixmap(pdpix)) { linear = 1; dst_pitch = exaGetPixmapPitch(pdpix); dst_offset += (y * dst_pitch) + (x * cpp); @@ -390,6 +390,7 @@ nouveau_exa_create_pixmap(ScreenPtr pScreen, int width, int height, int depth, if (cpp) { flags |= NOUVEAU_BO_VRAM; + *new_pitch = width * cpp; if (pNv->Architecture >= NV_ARCH_50) { if (height > 32) tile_mode = 4; @@ -398,15 +399,22 @@ nouveau_exa_create_pixmap(ScreenPtr pScreen, int width, i...
2010 May 13
1
xf86-video-nouveau-git and xorg-server-git
Hi! With current git version of xorg-server when I try to compile xf86-video-nouveau I got these errors: nouveau_exa.lo nouveau_exa.c: In function 'nouveau_exa_create_pixmap': nouveau_exa.c:325:3: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) nouveau_exa.c:331:2: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) nouveau_exa.c:372:3: warning: 'Xfree' is deprecated (declared at /usr/includ...
2010 Feb 09
1
low memory
...veau_wfb.c but I would like to be able to run this code in a normal situation, without crazy system freezing and extreme slowness, so that I can hopefully do proper benchmarking between the different options :) ) I ran oprofile on nv25 in these two configurations : 1) previous workaround of making nouveau_exa_create_pixmap always fail : performance still acceptable (early fallback) 2) runtime OUT_RELOC failure and fallback : turtle speed (late fallback) The commit that implemented workaround 1 for 32mb vram says : ? ?exa: force the use of sysmem pixmaps on low-mem cards ? ?Very similar effect to forcing MigrationHeu...
2009 Feb 26
2
[PATCH 1/2] exa: turn WaitMarker into a NOP.
- map should handle this. --- src/nouveau_exa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index b656ca7..20ad380 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -259,7 +259,7 @@ nouveau_exa_mark_sync(ScreenPtr pScreen) static void nouveau_exa_wait_marker(ScreenPtr pScreen, int marker) { -
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
With this patch the DDX almost works with GK20A, the missing piece is adding COHERENT mappings to the right places. ;-) If you specify NOUVEAU_BO_APER the kernel will truncate valid_domains to the domains specified at creation time. This means that as long as we only specify the correct domain in nouveau_allocate_surface the effect is still the same. Signed-off-by: Maarten Lankhorst <dev at
2013 Feb 06
4
[Bug 60369] New: src/nouveau_exa.c:142:31: error: 'CREATE_PIXMAP_USAGE_SHARED' undeclared (first use in this function)
...on: git Component: Driver/nouveau Product: xorg Compiling on Ubuntu 12.04 leads to this error: make[3]: Entering directory `/build/buildd/xserver-xorg-video-nouveau-1.0.6+git1302061522.e8f222~gd~p/build/src' CC nouveau_exa.lo ../../src/nouveau_exa.c: In function 'nouveau_exa_create_pixmap': ../../src/nouveau_exa.c:142:31: error: 'CREATE_PIXMAP_USAGE_SHARED' undeclared (first use in this function) ../../src/nouveau_exa.c:142:31: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [nouveau_exa.lo] Error 1 Full log here: http...