Displaying 10 results from an estimated 10 matches for "pushbuf_submit".
2018 Jan 11
0
[PATCH libdrm] nouveau: Support fence FDs
...= cli_push_get(push->client, bo);
 	if (fpush && fpush != push)
-		pushbuf_flush(fpush);
+		pushbuf_flush(fpush, NULL);
 
 	kref = cli_kref_get(push->client, bo);
 	if (kref) {
@@ -307,7 +308,8 @@ pushbuf_dump(struct nouveau_pushbuf_krec *krec, int krec_id, int chid)
 }
 
 static int
-pushbuf_submit(struct nouveau_pushbuf *push, struct nouveau_object *chan)
+pushbuf_submit(struct nouveau_pushbuf *push, struct nouveau_object *chan,
+               int *fence)
 {
 	struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push);
 	struct nouveau_pushbuf_krec *krec = nvpb->list;
@@ -315,9 +317,9 @@...
2015 Nov 26
0
[libdrm 08/13] nouveau: make use of nouveau_drm::fd instead of nouveau_device::fd
...veau_mclass *);
-void *nouveau_object_find(struct nouveau_object *, uint32_t parent_class);
 
 struct nouveau_device {
 	struct nouveau_object object;
diff --git a/nouveau/pushbuf.c b/nouveau/pushbuf.c
index 8e7dcdf..035e301 100644
--- a/nouveau/pushbuf.c
+++ b/nouveau/pushbuf.c
@@ -312,6 +312,7 @@ pushbuf_submit(struct nouveau_pushbuf *push, struct nouveau_object *chan)
 	struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(push);
 	struct nouveau_pushbuf_krec *krec = nvpb->list;
 	struct nouveau_device *dev = push->client->device;
+	struct nouveau_drm *drm = nouveau_drm(&dev->object);
 	str...
2014 Sep 26
14
[RFC] Explicit synchronization for Nouveau
Hi guys,
I'd like to start a new thread about explicit fence synchronization.  This time
with a Nouveau twist. :-)
First, let me define what I understand by implicit/explicit sync:
Implicit synchronization
* Fences are attached to buffers
* Kernel manages fences automatically based on buffer read/write access
Explicit synchronization
* Fences are passed around independently
* Kernel takes
2016 Feb 20
2
[Bug 94225] New: Mesa crash with "nouveau" driver and Minetest
..._screen.c:491
#2  0xb5c16747 in nouveau_fence_emit (fence=0xe0faa20) at nouveau_fence.c:102
#3  0xb5c16a08 in nouveau_fence_next (screen=screen at entry=0x8613cf8)
    at nouveau_fence.c:227
#4  0xb5ce9a83 in nvc0_default_kick_notify (push=0x8614038)
    at nvc0/nvc0_context.c:170
#5  0xb5b8a04e in pushbuf_submit (push=push at entry=0x8614038, 
    chan=<optimized out>, chan=<optimized out>) at pushbuf.c:325
#6  0xb5b8a39a in pushbuf_flush (push=push at entry=0x8614038) at pushbuf.c:402
#7  0xb5b8ad27 in nouveau_pushbuf_space (push=push at entry=0x8614038, dwords=0, 
    relocs=0, pushes=<opt...
2013 Aug 28
11
[Bug 68665] New: Crashing games when set AA to x2 on GTX760
...ttps://bugzilla.redhat.com/show_bug.cgi?id=1001714
https://bugzilla.redhat.com/show_bug.cgi?id=1001698
https://bugzilla.redhat.com/show_bug.cgi?id=1001740
I see always problem w/ pushbuf_dump. It's crashing w/ SIGSEGV. The same of:
Thread no. 1 (10 frames)
 #0 pushbuf_dump at pushbuf.c:296
 #1 pushbuf_submit at pushbuf.c:361
 #2 pushbuf_flush at pushbuf.c:402
 #3 nouveau_pushbuf_kick at pushbuf.c:773
 #4 PUSH_KICK at ../../../../src/gallium/drivers/nouveau/nouveau_winsys.h:56
 #5 nvc0_flush at nvc0_context.c:45
 #6 st_glFlush at ../../src/mesa/state_tracker/st_cb_flush.c:121
 #7 _mesa_make_current at ....
2015 Aug 14
15
[Bug 91632] New: Crash in nouveau
...ntry=0x598d40,
bo=0x5ace30, offset=115624, length=20)
    at ../../nouveau/pushbuf.c:726
#5  0x00007fffe1d761cb in nouveau_pushbuf_data (push=push at entry=0x598d40,
bo=bo at entry=0x0, offset=offset at entry=0, 
    length=length at entry=0) at ../../nouveau/pushbuf.c:718
#6  0x00007fffe1d762ea in pushbuf_submit (push=push at entry=0x598d40,
chan=<optimized out>, chan=<optimized out>)
    at ../../nouveau/pushbuf.c:329
#7  0x00007fffe1d7656e in pushbuf_flush (push=push at entry=0x598d40) at
../../nouveau/pushbuf.c:404
#8  0x00007fffe1d77180 in nouveau_pushbuf_kick (push=0x598d40, chan=<optim...
2015 Nov 27
14
[libdrm v2 01/14] nouveau: import and install a selection of nvif headers from the kernel
From: Ben Skeggs <bskeggs at redhat.com>
This commit also modifies the install path of the main libdrm_nouveau
header to be under a nouveau/ subdirectory.
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
 include/drm/nouveau_drm.h    |   1 +
 nouveau/Makefile.am          |  11 +++-
 nouveau/libdrm_nouveau.pc.in |   2 +-
 nouveau/nvif/cl0080.h        |  45 ++++++++++++++
2015 Nov 26
18
[libdrm 01/13] nouveau: move more abi16-specific logic into abi16.c
From: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
 nouveau/abi16.c   | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
 nouveau/nouveau.c | 56 +++++++------------------------------------------
 nouveau/private.h |  7 ++-----
 3 files changed, 67 insertions(+), 58 deletions(-)
diff --git a/nouveau/abi16.c b/nouveau/abi16.c
index
2015 Dec 16
16
[libdrm v3 01/14] nouveau: import and install a selection of nvif headers from the kernel
From: Ben Skeggs <bskeggs at redhat.com>
This commit also modifies the install path of the main libdrm_nouveau
header to be under a nouveau/ subdirectory.
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
 include/drm/nouveau_drm.h    |   1 +
 nouveau/Makefile.am          |  11 +++-
 nouveau/libdrm_nouveau.pc.in |   2 +-
 nouveau/nvif/cl0080.h        |  45 ++++++++++++++
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