search for: text_heap

Displaying 10 results from an estimated 10 matches for "text_heap".

2014 Nov 19
5
[PATCH v2 0/3] nouveau: support for custom VRAM domains
This series is to allow NVIDIA chips with shared memory to operate more efficiently (and to operate at all once we disable VRAM from the kernel driver) by allowing nouveau_screen to specify a domain to use for objects originally allocated into VRAM. If the domain is not overridden, the default NOUVEAU_BO_VRAM is used. A NV_VRAM_DOMAIN() macro is then introduced to be used in place of
2014 Nov 19
0
[PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro
..., + ret = nouveau_bo_new(dev, NV_VRAM_DOMAIN(&screen->base), 1 << 17, 1 << 20, NULL, &screen->text); if (ret) goto fail; @@ -822,12 +822,12 @@ nvc0_screen_create(struct nouveau_device *dev) */ nouveau_heap_init(&screen->text_heap, 0, (1 << 20) - 0x100); - ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 1 << 12, 6 << 16, NULL, + ret = nouveau_bo_new(dev, NV_VRAM_DOMAIN(&screen->base), 1 << 12, 6 << 16, NULL, &screen->uniform_bo); if (ret) goto f...
2014 Nov 19
1
[PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro
...VRAM_DOMAIN(&screen->base), 1 << 17, 1 << 20, NULL, > &screen->text); > if (ret) > goto fail; > @@ -822,12 +822,12 @@ nvc0_screen_create(struct nouveau_device *dev) > */ > nouveau_heap_init(&screen->text_heap, 0, (1 << 20) - 0x100); > > - ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 1 << 12, 6 << 16, NULL, > + ret = nouveau_bo_new(dev, NV_VRAM_DOMAIN(&screen->base), 1 << 12, 6 << 16, NULL, > &screen->uniform_bo); >...
2014 Nov 19
1
[PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro
..., NV_VRAM_DOMAIN(&screen->base), 1 << 17, 1 << 20, NULL, > &screen->text); > if (ret) > goto fail; > @@ -822,12 +822,12 @@ nvc0_screen_create(struct nouveau_device *dev) > */ > nouveau_heap_init(&screen->text_heap, 0, (1 << 20) - 0x100); > > - ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 1 << 12, 6 << 16, NULL, > + ret = nouveau_bo_new(dev, NV_VRAM_DOMAIN(&screen->base), 1 << 12, 6 << 16, NULL, > &screen->uniform_bo); >...
2014 Oct 27
4
[PATCH 0/3] nouveau: support for custom VRAM domains
This series is to allow NVIDIA chips with shared memory to operate more efficiently (and to operate at all once we disable VRAM from the kernel driver) by allowing nouveau_screen to specify a domain to use for objects originally allocated into VRAM. If the domain is not overridden, the default NOUVEAU_BO_VRAM is used. A NV_VRAM_DOMAIN() macro is then introduced to be used in place of
2015 Jun 19
5
[PATCH v3 0/2] nouveau: support for custom VRAM domains
New revision of this patchset that prevents VRAM objects from being allocated on VRAM-less systems like Tegra. This is required for Mesa to work on such systems. Changes since v2: - Use vram_size to detect systems without VRAM and set the correct domain instead of expecting each chip to set its domain explicitly. Alexandre Courbot (2): nouveau: support for custom VRAM domains nvc0: use
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...amp;screen->poly_cache); nouveau_bo_ref(NULL, &screen->parm); + nouveau_bo_ref(NULL, &screen->notify.bo); + if (screen->notify.mm) + nouveau_mm_free(screen->notify.mm); nouveau_heap_destroy(&screen->lib_code); nouveau_heap_destroy(&screen->text_heap); @@ -405,11 +395,9 @@ nvc0_screen_destroy(struct pipe_screen *pscreen) } static int -nvc0_graph_set_macro(struct nvc0_screen *screen, uint32_t m, unsigned pos, +nvc0_graph_set_macro(struct nouveau_pushbuf *push, uint32_t m, unsigned pos, unsigned size, const uint32_t *dat...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +-
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...nouveau_bo_ref(NULL, &screen->parm); > + nouveau_bo_ref(NULL, &screen->notify.bo); > + if (screen->notify.mm) > + nouveau_mm_free(screen->notify.mm); > > nouveau_heap_destroy(&screen->lib_code); > nouveau_heap_destroy(&screen->text_heap); > @@ -405,11 +395,9 @@ nvc0_screen_destroy(struct pipe_screen *pscreen) > } > > static int > -nvc0_graph_set_macro(struct nvc0_screen *screen, uint32_t m, unsigned pos, > +nvc0_graph_set_macro(struct nouveau_pushbuf *push, uint32_t m, unsigned pos, > u...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4