search for: 39758d1

Displaying 2 results from an estimated 2 matches for "39758d1".

Did you mean: 39758
2010 Jan 17
0
[PATCH] libdrm/nouveau: Support nested bo mapping
...*nvbo = nouveau_bo(bo); + if(--nvbo->map_count) + return 0; + if (bo->map && !nvbo->sysmem) { struct nouveau_device_priv *nvdev = nouveau_device(bo->device); struct drm_nouveau_gem_cpu_fini req; diff --git a/nouveau/nouveau_private.h b/nouveau/nouveau_private.h index 39758d1..512bc1e 100644 --- a/nouveau/nouveau_private.h +++ b/nouveau/nouveau_private.h @@ -115,6 +115,7 @@ struct nouveau_bo_priv { drm_handle_t handle; uint64_t map_handle; void *map; + unsigned map_count; /* Last known information from kernel on buffer status */ int pinned; -- 1.6.3.3
2010 Jan 29
2
[PATCH 1/2] libdrm/nouveau: new optimized libdrm pushbuffer ABI
...@@ -26,7 +26,7 @@ #include "nouveau_private.h" -#if NOUVEAU_DRM_HEADER_PATCHLEVEL != 15 +#if NOUVEAU_DRM_HEADER_PATCHLEVEL != 16 #error nouveau_drm.h does not match expected patchlevel, update libdrm. #endif diff --git a/nouveau/nouveau_private.h b/nouveau/nouveau_private.h index 39758d1..0e526a1 100644 --- a/nouveau/nouveau_private.h +++ b/nouveau/nouveau_private.h @@ -39,8 +39,6 @@ #define CALPB_BUFFERS 4 #define CALPB_BUFSZ 16384 struct nouveau_pushbuf_priv { - struct nouveau_pushbuf base; - int no_aper_update; int use_cal; uint32_t cal_suffix0; @@ -50,7 +48,6 @@ stru...