search for: nv_arch_50

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

2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...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, int height, int depth, else if (height > 4) tile_mode = 1; else tile_mode = 0; - if (usage_hint == NOUVEAU_CREATE_PIXMAP_ZETA) + if (usage_...
2010 Jul 29
1
[PATCH] Reflow logic to make it easier to follow
...tecture == NV_ARCH_40) { - ret = NV40PutTextureImage(pScrn, pPriv->video_mem, - offset, uv_offset, - id, dstPitch, &dstBox, 0, 0, - xb, yb, npixels, nlines, - src_w, src_h, drw_w, drw_h, - clipBoxes, ppix, pPriv); - } else - if (pNv->Architecture == NV_ARCH_50) { - ret = nv50_xv_image_put(pScrn, pPriv->video_mem, - offset, uv_offset, - id, dstPitch, &dstBox, 0, 0, - xb, yb, npixels, nlines, - src_w, src_h, drw_w, drw_h, - clipBoxes, ppix, pPriv); + if (action_flags & USE_TEXTURE) { + if (pNv->Architecture == NV...
2010 Feb 09
1
texture dimension limits in ddx
...nv20 according to curro : 01:03 < curro_> shining: btw, about the 2048x2048 fallback, i'm quite sure it's wrong for nv2x 01:05 < curro_> shining: it can do 4096x4096 with no problems, IIRC And finally I saw that nouveau_exa_init does this : if (pNv->Architecture >= NV_ARCH_50) { exa->maxX = 8192; exa->maxY = 8192; } else if (pNv->Architecture >= NV_ARCH_20) { exa->maxX = 4096; exa->maxY = 4096; } else { exa->maxX = 2048; exa->ma...
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...xmapPtr ppix, int width, int height, if (!nvpix->bo && nvpix->size) { uint32_t cpp = ppix->drawable.bitsPerPixel >> 3; - /* At some point we should just keep 1bpp pixmaps in sysram */ uint32_t flags = NOUVEAU_BO_VRAM; int ret; if (pNv->Architecture >= NV_ARCH_50 && cpp) { - uint32_t aw = (width + 7) & ~7; - uint32_t 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) &am...
2012 Jul 27
1
[PATCH] nvc0: Add and enable vblank support
...u_dri2.c @@ -316,6 +316,9 @@ nouveau_dri2_finish_swap(DrawablePtr draw, unsigned int frame, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD }, 1); + if (pNv->Architecture >= NV_ARCH_C0) + NVC0SyncToVBlank(dst_pix, REGION_EXTENTS(0, &reg)); + else if (pNv->Architecture >= NV_ARCH_50) NV50SyncToVBlank(dst_pix, REGION_EXTENTS(0, &reg)); else diff --git a/src/nv_dma.c b/src/nv_dma.c index d2a6d00..47c7e12 100644 --- a/src/nv_dma.c +++ b/src/nv_dma.c @@ -63,6 +63,18 @@ NVInitDma(ScrnInfoPtr pScrn) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Opened GPU channel...
2007 Sep 03
4
Fixes and workarounds for regressions and issues in the randr-1.2 branch
Hi, Please find attached the patches which I currently use on my desktop machine for dual head with the randr branch to fix the issues which I found. They may help others as well but may e.g. also disable the Xv blitter which might be working for some (but didn't on my card) - more information is found in the text comments in the patches. I have to hurry so this is short, will be back.