Displaying 7 results from an estimated 7 matches for "nvpix".
Did you mean:
nix
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...@@ 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);
- if (bo->tile_flags && !pNv->wfb_enabled) {
+ if (nv50_style_tiled_pixmap(ppix) &&a...
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
...-git a/src/nvc0_exa.c b/src/nvc0_exa.c
index 1f33353..596361e 100644
--- a/src/nvc0_exa.c
+++ b/src/nvc0_exa.c
@@ -96,11 +96,10 @@ NVC0EXAAcquireSurface2D(PixmapPtr ppix, int is_src, uint32_t fmt)
{
NVC0EXA_LOCALS(ppix);
struct nouveau_bo *bo = nouveau_pixmap_bo(ppix);
- struct nouveau_pixmap *nvpix = nouveau_pixmap(ppix);
int mthd = is_src ? NV50_2D_SRC_FORMAT : NV50_2D_DST_FORMAT;
uint32_t bo_flags;
- bo_flags = nvpix->shared ? NOUVEAU_BO_GART : NOUVEAU_BO_VRAM;
+ bo_flags = NOUVEAU_BO_APER;
bo_flags |= is_src ? NOUVEAU_BO_RD : NOUVEAU_BO_WR;
if (!nv50_style_tiled_pixmap(ppix)...
2017 Dec 31
2
[PATCH] dri3: remove bogus condition for creating pixmap
...on(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index cbb7b2a..07b6022 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
--
2.13.6
2012 Mar 01
2
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping v2
Two "updated" patches, according to Michel Daenzers review. See
separate e-mail for details.
01/10: Replaces original 01/09 -- Same code, updated commit message.
10/10: Just for demonstration, not for application to ddx.
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...een->myNum]);
+ ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ NVPtr pNv = NVPTR(pScrn);
+
+ if (!pNv->exa_driver_pixmaps)
+ NVSync(xf86Screens[pScreen->myNum]);
}
static Bool
@@ -351,17 +355,16 @@ nouveau_exa_modify_pixmap_header(PixmapPtr 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 = (wid...
2017 Dec 31
0
[PATCH] dri3: remove bogus condition for creating pixmap
...rc/nouveau_dri2.c
> index cbb7b2a..07b6022 100644
> --- a/src/nouveau_dri2.c
> +++ b/src/nouveau_dri2.c
> @@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
> struct nouveau_bo *bo = NULL;
> struct nouveau_pixmap *nvpix;
>
> - if (depth < 8 || depth > 32 || depth % 8)
> + if (depth < 8 || depth > 32)
> return NULL;
>
> pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
> --
> 2.13.6
>
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
...(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index cbb7b2a..ac0ca09 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1076,13 +1076,16 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
if (!pixmap)
return NULL;
+ if (pixmap->drawable.bitsPerPixel % 8)
+ goto free_pixmap;
+
if (!screen->ModifyPixmapH...