search for: bo_size

Displaying 13 results from an estimated 13 matches for "bo_size".

Did you mean: no_size
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...;num_planes; ++i) { buffer->resources[i] = pipe->screen->resource_create(pipe->screen, &templ); if (!buffer->resources[i]) goto error; } > + > + mt0 = nv50_miptree(buffer->resources[0]); > + mt1 = nv50_miptree(buffer->resources[1]); > + > + bo_size = mt0->total_size + mt1->total_size; > + if (nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, 0, > + bo_size, &cfg, &buffer->interlaced)) > + goto error; > + /* XXX Change reference frame management so that this is on...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...i] = pipe->screen->resource_create(pipe->screen, > &templ); > if (!buffer->resources[i]) > goto error; > } > >> + >> + mt0 = nv50_miptree(buffer->resources[0]); >> + mt1 = nv50_miptree(buffer->resources[1]); >> + >> + bo_size = mt0->total_size + mt1->total_size; >> + if (nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, 0, >> + bo_size, &cfg, &buffer->interlaced)) >> + goto error; >> + /* XXX Change reference frame management so...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...(pipe->screen, >> &templ); >> if (!buffer->resources[i]) >> goto error; >> } >> >>> + >>> + mt0 = nv50_miptree(buffer->resources[0]); >>> + mt1 = nv50_miptree(buffer->resources[1]); >>> + >>> + bo_size = mt0->total_size + mt1->total_size; >>> + if (nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM | NOUVEAU_BO_NOSNOOP, 0, >>> + bo_size, &cfg, &buffer->interlaced)) >>> + goto error; >>> + /* XXX Change reference fra...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...j, component; + struct pipe_sampler_view sv_templ; + struct pipe_surface surf_templ; + struct nv50_miptree *mt0, *mt1; + struct nouveau_bo *empty = NULL; + struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; + union nouveau_bo_config cfg; + unsigned bo_size; + + if (getenv("XVMC_VL")) + return vl_video_buffer_create(pipe, template); + + if (!template->interlaced) { + debug_printf("Require interlaced video buffers\n"); + return NULL; + } + if (template->buffer_format != PIPE_FORMAT_NV12) { + debug_p...
2018 Apr 18
0
[PATCH] drm: Print unadorned pointers
...438,7 +438,7 @@ static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, > if (!bo_va_entry) > return -ENOMEM; > > - pr_debug("\t add VA 0x%llx - 0x%llx to vm %p\n", va, > + pr_debug("\t add VA 0x%llx - 0x%llx to vm %px\n", va, > va + bo_size, vm); > > /* Add BO to VM internal data structures*/ <snip> As others have pointed out, please do not do this. Use %pK as needed. And perhaps revisit some of the "need" for these pointers at all in the first place... thanks, greg k-h
2015 Aug 14
0
[ANNOUNCE] libdrm 2.4.63
...able to fix ZaphodHeads. (v2) Michel Dänzer (4): amdgpu: Use drmIoctl in amdgpu_ioctl_wait_cs amdgpu/tests: Use buf_handle in amdgpu_bo_alloc_and_map() error paths amdgpu/tests: Cast CPU map argument of amdgpu_bo_alloc_and_map to void** amdgpu: Remove unused local variables bo_size/offset from amdgpu_cs_submit Sabre Shao (2): amdgpu: add va allocation intefaces amdgpu: add va range query interface Tapani Pälli (3): remove usage of 'c_plusplus' preprocessor macro intel: wrap intel_bufmgr.h C code for C++ compilation/linking modeprint: cl...
2014 Sep 01
2
[PATCH 1/3] nv50: set the miptree address when clearing bo's in vp2 init
The mt address is about to be used more, make sure it's set appropriately. Reported-by: Emil Velikov <emil.l.velikov at gmail.com> Tested-by: Emil Velikov <emil.l.velikov at gmail.com> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: "10.2 10.3" <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/nv50/nv84_video.c | 2 ++ 1 file
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...j, component; + struct pipe_sampler_view sv_templ; + struct pipe_surface surf_templ; + struct nv50_miptree *mt0, *mt1; + struct nouveau_bo *empty = NULL; + struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; + union nouveau_bo_config cfg; + unsigned bo_size; + + if (getenv("XVMC_VL")) + return vl_video_buffer_create(pipe, template); + + if (!template->interlaced) { + debug_printf("Require interlaced video buffers\n"); + return NULL; + } + if (template->buffer_format != PIPE_FORMAT_NV12) { + debug_p...
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...N_bo(nv50->bufctx_3d, SCREEN, flags, screen->fence.bo); - BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo); + BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, nv50->fence.bo); + BCTX_REFN_bo(nv50->bufctx, FENCE, flags, nv50->fence.bo); nv50->base.scratch.bo_size = 2 << 20; return pipe; out_err: - if (nv50->bufctx_3d) - nouveau_bufctx_del(&nv50->bufctx_3d); - if (nv50->bufctx) - nouveau_bufctx_del(&nv50->bufctx); - if (nv50->blit) - FREE(nv50->blit); - FREE(nv50); + nv50_destroy(pipe); re...
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
..., SCREEN, flags, screen->fence.bo); > - BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo); > + BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, nv50->fence.bo); > + BCTX_REFN_bo(nv50->bufctx, FENCE, flags, nv50->fence.bo); > > nv50->base.scratch.bo_size = 2 << 20; > > return pipe; > > out_err: > - if (nv50->bufctx_3d) > - nouveau_bufctx_del(&nv50->bufctx_3d); > - if (nv50->bufctx) > - nouveau_bufctx_del(&nv50->bufctx); > - if (nv50->blit) > - FREE(nv50->blit);...
2017 Jan 13
11
[Bug 99396] New: Crash in nouveau_dri.so when switching apps with alt-tab in Gnome
https://bugs.freedesktop.org/show_bug.cgi?id=99396 Bug ID: 99396 Summary: Crash in nouveau_dri.so when switching apps with alt-tab in Gnome Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau
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