search for: bufctx

Displaying 20 results from an estimated 24 matches for "bufctx".

Did you mean: ufctx
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...c/gallium/drivers/nouveau/nv30/nv30_context.c @@ -36,29 +36,27 @@ static void nv30_context_kick_notify(struct nouveau_pushbuf *push) { - struct nouveau_screen *screen; struct nv30_context *nv30; if (!push->user_priv) return; nv30 = container_of(push->user_priv, nv30, bufctx); - screen = &nv30->screen->base; - nouveau_fence_next(&screen->fence); - nouveau_fence_update(&screen->fence, TRUE); + nouveau_fence_next(&nv30->base.fence); + nouveau_fence_update(&nv30->base.fence, TRUE); if (push->bufctx) { struc...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...um/drivers/nouveau/nv30/nv30_context.c index f325c5c..35c66f1 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_context.c +++ b/src/gallium/drivers/nouveau/nv30/nv30_context.c @@ -44,8 +44,8 @@ nv30_context_kick_notify(struct nouveau_pushbuf *push) nv30 = container_of(push->user_priv, nv30, bufctx); screen = &nv30->screen->base; - nouveau_fence_next(screen); - nouveau_fence_update(screen, TRUE); + nouveau_fence_next(&screen->fence); + nouveau_fence_update(&screen->fence, TRUE); if (push->bufctx) { struct nouveau_bufref *bref; diff --git a...
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...t; @@ -36,29 +36,27 @@ > static void > nv30_context_kick_notify(struct nouveau_pushbuf *push) > { > - struct nouveau_screen *screen; > struct nv30_context *nv30; > > if (!push->user_priv) > return; > nv30 = container_of(push->user_priv, nv30, bufctx); > - screen = &nv30->screen->base; > > - nouveau_fence_next(&screen->fence); > - nouveau_fence_update(&screen->fence, TRUE); > + nouveau_fence_next(&nv30->base.fence); > + nouveau_fence_update(&nv30->base.fence, TRUE); > >...
2014 Jul 31
1
[libdrm PATCH 1/3] nouveau: Only export public functions.
This hides all the abi16_* functions and the nouveau_debug variable, they should have been private to begin with. Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- nouveau/Makefile.am | 1 + nouveau/bufctx.c | 10 +++++----- nouveau/nouveau.c | 40 ++++++++++++++++++++-------------------- nouveau/private.h | 1 + nouveau/pushbuf.c | 20 ++++++++++---------- 5 files changed, 37 insertions(+), 35 deletions(-) diff --git a/nouveau/Makefile.am b/nouveau/Makefile.am index 206e892..73cff9f 10064...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...m/drivers/nouveau/nv30/nv30_context.c index f325c5c..35c66f1 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_context.c +++ b/src/gallium/drivers/nouveau/nv30/nv30_context.c @@ -44,8 +44,8 @@ nv30_context_kick_notify(struct nouveau_pushbuf *push) nv30 = container_of(push->user_priv, nv30, bufctx); screen = &nv30->screen->base; - nouveau_fence_next(screen); - nouveau_fence_update(screen, TRUE); + nouveau_fence_next(&screen->fence); + nouveau_fence_update(&screen->fence, TRUE); if (push->bufctx) { struct nouveau_bufref *bref; diff --...
2014 Jun 18
1
[PATCH 1/2] nv30: plug some memory leaks on screen destroy and shader compile
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: "10.2" <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 6 ++++++ src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 1 + 2 files changed, 7 insertions(+) diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c index
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
...if (bpp >= 8) - flags |= shared ? NOUVEAU_BO_GART : NOUVEAU_BO_VRAM; + flags |= shared ? NOUVEAU_BO_GART : pNv->vram_domain; if (pNv->Architecture >= NV_TESLA) { if (scanout) { @@ -677,7 +677,7 @@ NVAccelCommonInit(ScrnInfoPtr pScrn) pNv->pushbuf->user_priv = pNv->bufctx; /* Scratch buffer */ - ret = nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM | NOUVEAU_BO_MAP, + ret = nouveau_bo_new(pNv->dev, pNv->vram_domain | NOUVEAU_BO_MAP, 128 * 1024, 128 * 1024, NULL, &pNv->scratch); if (!ret) ret = nouveau_bo_map(pNv->scratch, 0, pNv->cli...
2014 May 20
14
[PATCH 00/12] Cherry-pick nv50/nvc0 patches from gallium-nine
...bunch I'd like to also get into 10.2. I've reviewed all of them and they make sense to me, but sending them out for public review as well in case there are any objections. Unless I hear objections, I'd like to push this by Friday. Christoph Bumiller (11): nv50,nvc0: always pull out bufctx on context destruction nv50: setup scissors on clear_render_target/depth_stencil nv50,nvc0: set constbufs dirty on pipe context switch nv50/ir/tgsi: TGSI_OPCODE_POW replicates its result nv50/ir/opt: fix constant folding with saturate modifier nv50/ir: fix lowering of predicated instructi...
2015 Nov 19
7
[Bug 93004] New: Guild Wars 2 crash on nouveau DX11 cards
https://bugs.freedesktop.org/show_bug.cgi?id=93004 Bug ID: 93004 Summary: Guild Wars 2 crash on nouveau DX11 cards Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at
2016 Aug 29
10
[Bug 97537] New: nvc0 occasionally crashes in glDrawArrays in a multi-threaded app
...abstime=0x0, expected=0, futex_word=0x611838 <gPboFifo+344>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 (gdb) where #0 nvc0_resource_validate (flags=<optimized out>, res=<optimized out>) at ../../../../../src/gallium/drivers/nouveau/nvc0/nvc0_screen.h:156 #1 nvc0_bufctx_fence (nvc0=nvc0 at entry=0x7842c0, bufctx=<optimized out>, on_flush=on_flush at entry=true) at ../../../../../src/gallium/drivers/nouveau/nvc0/nvc0_context.c:434 #2 0x00007ffff38b69c3 in nvc0_state_validate (nvc0=nvc0 at entry=0x7842c0, mask=mask at entry=4294967295) at ../....
2017 Aug 21
20
[Bug 102349] New: nv4x crashing with plasmashell - gdb log included
https://bugs.freedesktop.org/show_bug.cgi?id=102349 Bug ID: 102349 Summary: nv4x crashing with plasmashell - gdb log included Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: Driver/nouveau
2014 Jun 12
6
[Bug 79946] New: Segmentation violation at nouveau_fence.c
...mplifier XE 2013 command amplxe-gui on Linux Fedora 20. Segmentation violation at nouveau_fence.c:226 "if (screen->fence.current->state < NOUVEAU_FENCE_STATE_EMITTING)" pointer screen is nil because after nv30/nv30_context.c:44 "nv30 = container_of(push->user_priv, nv30, bufctx);" assert(nv30->screen) fails. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140612/8bc00454/attachment.html>
2018 Mar 07
3
[Bug 105382] New: segfault in nouveau_scratch_data when using 2 nouveau cards
..._user_vbufs_shared (nvc0=0x1dc0800) at nvc0/nvc0_vbo.c:292 #4 0x00007f5be078121d in nvc0_state_validate (nvc0=nvc0 at entry=0x1dc0800, mask=mask at entry=4294967295, validate_list=validate_list at entry=0x7f5be0d78fe0 <validate_list_3d>, size=size at entry=33, dirty=dirty at entry=0x1dc0c10, bufctx=0x1dc3fc0) at nvc0/nvc0_state_validate.c:902 #5 0x00007f5be07813f7 in nvc0_state_validate_3d (nvc0=nvc0 at entry=0x1dc0800, mask=mask at entry=4294967295) at nvc0/nvc0_state_validate.c:920 #6 0x00007f5be078cb57 in nvc0_draw_vbo (pipe=0x1dc0800, info=<optimized out>) at nvc0/nvc0_vbo.c:977 #...
2014 Jul 01
1
[PATCH 1/2] nv50: do an explicit flush on draw when there are persistent buffers
...a/src/gallium/drivers/nouveau/nv50/nv50_context.h b/src/gallium/drivers/nouveau/nv50/nv50_context.h index 3b7cb18..9c2af40 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.h @@ -106,6 +106,7 @@ struct nv50_context { struct nouveau_bufctx *bufctx; uint32_t dirty; + boolean cb_dirty; struct { uint32_t instance_elts; /* bitmask of per-instance elements */ diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c index 7c2b7ff..5a4a457 100644 --- a/src/gallium/drivers/no...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...eo engine, I was wondering > about compacting it into a struct (names chosen are the first thing that > came to mind) > > struct nv84_decoder_eng { > struct nouveau_object *obj; > struct nouveau_object *channel; > struct nouveau_pushbuf *pushbuf; > struct nouveau_bufctx *bufctx; > > struct nouveau_bo *fw; > struct nouveau_bo *data; > } > > and then having an enum for the different engine types > > enum nv84_decoder_eng_type > { > BSP = 0, > VP > }; > > #define NV84_DECODER_ENG_NUM VP + 1 Hmmm.... it's a po...
2018 May 15
2
[Bug 106530] New: [Wayland+Nouveau] KDE Desktop crashed after login.
...es (nvc0=0x564e66cb5750) at nvc0/nvc0_tex.c:1309 #17 0x00007fe0a50c78bc in nvc0_state_validate (nvc0=nvc0 at entry=0x564e66cb5750, mask=mask at entry=4294967295, validate_list=validate_list at entry=0x7fe0a57897a0 <validate_list_3d>, size=size at entry=33, dirty=dirty at entry=0x564e66cb5bb8, bufctx=0x564e66cb9080) at nvc0/nvc0_state_validate.c:903 #18 0x00007fe0a50c79e7 in nvc0_state_validate_3d (nvc0=nvc0 at entry=0x564e66cb5750, mask=mask at entry=4294967295) at nvc0/nvc0_state_validate.c:921 #19 0x00007fe0a50d3bed in nvc0_draw_vbo (pipe=0x564e66cb5750, info=0x7fdffbb65690) at nvc0/nvc0_vbo...
2015 Oct 12
48
[Bug 92438] New: Segfault in pushbuf_kref when running the android emulator (qemu) on nv50
https://bugs.freedesktop.org/show_bug.cgi?id=92438 Bug ID: 92438 Summary: Segfault in pushbuf_kref when running the android emulator (qemu) on nv50 Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
...-391,9 +399,12 @@ nv50_create(struct pipe_screen *pscreen, void *priv, unsigned ctxflags) util_dynarray_init(&nv50->global_residents); + pipe_mutex_unlock(screen->base.push_mutex); + return pipe; out_err: + pipe_mutex_unlock(screen->base.push_mutex); if (nv50->bufctx_3d) nouveau_bufctx_del(&nv50->bufctx_3d); if (nv50->bufctx_cp) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.h b/src/gallium/drivers/nouveau/nv50/nv50_context.h index 2317fa2..b7963a4 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.h +++ b/src/gallium/dr...
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...at the params associated with each video engine, I was wondering about compacting it into a struct (names chosen are the first thing that came to mind) struct nv84_decoder_eng { struct nouveau_object *obj; struct nouveau_object *channel; struct nouveau_pushbuf *pushbuf; struct nouveau_bufctx *bufctx; struct nouveau_bo *fw; struct nouveau_bo *data; } and then having an enum for the different engine types enum nv84_decoder_eng_type { BSP = 0, VP }; #define NV84_DECODER_ENG_NUM VP + 1 > +struct nv84_decoder { > + struct pipe_video_decoder base; > + struct nou...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...gt; about compacting it into a struct (names chosen are the first thing that >> came to mind) >> >> struct nv84_decoder_eng { >> struct nouveau_object *obj; >> struct nouveau_object *channel; >> struct nouveau_pushbuf *pushbuf; >> struct nouveau_bufctx *bufctx; >> >> struct nouveau_bo *fw; >> struct nouveau_bo *data; >> } >> >> and then having an enum for the different engine types >> >> enum nv84_decoder_eng_type >> { >> BSP = 0, >> VP >> }; >> >> #de...