search for: wfb_enabled

Displaying 3 results from an estimated 3 matches for "wfb_enabled".

Did you mean: efi_enabled
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...tecture == NV_ARCH_50 && + nouveau_pixmap_bo(ppix)->tile_flags; } static void * @@ -453,7 +462,7 @@ nouveau_exa_pixmap_map(PixmapPtr ppix) struct nouveau_bo *bo = nouveau_pixmap_bo(ppix); unsigned delta = nouveau_pixmap_offset(ppix); - if (bo->tile_flags && !pNv->wfb_enabled) { + if (nv50_style_tiled_pixmap(ppix) && !pNv->wfb_enabled) { struct nouveau_pixmap *nvpix = nouveau_pixmap(ppix); nvpix->map_refcount++; @@ -481,7 +490,7 @@ nouveau_exa_pixmap_unmap(PixmapPtr ppix) NVPtr pNv = NVPTR(pScrn); struct nouveau_bo *bo = nouveau_pixmap_bo(ppix)...
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...ix) static void * nouveau_exa_pixmap_map(PixmapPtr ppix) { + ScrnInfoPtr pScrn = xf86Screens[ppix->drawable.pScreen->myNum]; + NVPtr pNv = NVPTR(pScrn); struct nouveau_bo *bo = nouveau_pixmap_bo(ppix); unsigned delta = nouveau_pixmap_offset(ppix); - if (bo->tiled) { + if (!pNv->wfb_enabled && bo->tiled) { struct nouveau_pixmap *nvpix = nouveau_pixmap(ppix); nvpix->linear = xcalloc(1, ppix->devKind * ppix->drawable.height); @@ -426,9 +434,11 @@ nouveau_exa_pixmap_map(PixmapPtr ppix) static void nouveau_exa_pixmap_unmap(PixmapPtr ppix) { + ScrnInfoPtr pSc...
2019 Oct 12
0
[PATCH xf86-video-nouveau] nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements
...(or 0, or maybe it depends on the caller) */ bpp = round_up_pow2(format ? format : pDraw->depth); diff --git a/src/nv_driver.c b/src/nv_driver.c index 42eb9db..a63674c 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -1082,7 +1082,8 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) pNv->wfb_enabled = xf86ReturnOptValBool( pNv->Options, OPTION_WFB, FALSE); - pNv->tiled_scanout = TRUE; + if (pNv->Architecture >= NV_ARCH_10) + pNv->tiled_scanout = TRUE; } pNv->ce_enabled = -- 2.21.0