Displaying 20 results from an estimated 24 matches for "nouveau_winsys".
2009 Mar 06
0
[PATCH] Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the screen/pipe creation failed
---
.../winsys/drm/nouveau/common/nouveau_context.c | 6 ++++--
.../winsys/drm/nouveau/common/nouveau_winsys.c | 7 ++++++-
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
index 25c9845..d9321ea 100644
--- a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
+++ b/s...
2015 Dec 16
11
[mesa v3 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com>
v2. forgot bump for non-gallium driver
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b6680d0..965c6f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,8 +72,8 @@ LIBDRM_REQUIRED=2.4.60
2016 Feb 20
2
[Bug 94225] New: Mesa crash with "nouveau" driver and Minetest
...16-02-19 17:53:45: ACTION[main]: Irrlicht: Could not open file of texture:
character.png
2016-02-19 17:53:45: ACTION[main]: Irrlicht: Could not open file of texture:
character.png
Program received signal SIGSEGV, Segmentation fault.
0xb5cebcf8 in PUSH_DATA (push=0x8614038, data=268496912)
at ./nouveau_winsys.h:35
35 ./nouveau_winsys.h: No such file or directory.
(gdb) bt
#0 0xb5cebcf8 in PUSH_DATA (push=0x8614038, data=268496912)
at ./nouveau_winsys.h:35
#1 nvc0_screen_fence_emit (pscreen=0x8613cf8, sequence=0xe0faa30)
at nvc0/nvc0_screen.c:491
#2 0xb5c16747 in nouveau_fence_emit (fence=0xe...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...ivers/nv50/nv50_screen.h
+++ b/src/gallium/drivers/nv50/nv50_screen.h
@@ -2,6 +2,7 @@
#define __NV50_SCREEN_H__
#include "nouveau/nouveau_screen.h"
+#include "nv50_context.h"
struct nv50_screen {
struct nouveau_screen base;
@@ -9,6 +10,7 @@ struct nv50_screen {
struct nouveau_winsys *nvws;
unsigned cur_pctx;
+ struct nv50_context *cur_ctx;
struct nouveau_grobj *tesla;
struct nouveau_grobj *eng2d;
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 871e809..8cf4ff4 100644
--- a/src/gallium/drivers/nv50/nv5...
2015 Nov 26
9
[mesa 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4016871..c02ee61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56
LIBDRM_AMDGPU_REQUIRED=2.4.63
LIBDRM_INTEL_REQUIRED=2.4.61
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...ivers/nv50/nv50_screen.h
+++ b/src/gallium/drivers/nv50/nv50_screen.h
@@ -2,6 +2,7 @@
#define __NV50_SCREEN_H__
#include "nouveau/nouveau_screen.h"
+#include "nv50_context.h"
struct nv50_screen {
struct nouveau_screen base;
@@ -9,6 +10,7 @@ struct nv50_screen {
struct nouveau_winsys *nvws;
unsigned cur_pctx;
+ struct nv50_context *cur_ctx;
struct nouveau_grobj *tesla;
struct nouveau_grobj *eng2d;
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 871e809..8cf4ff4 100644
--- a/src/gallium/drivers/nv50/nv5...
2015 Nov 27
13
[mesa v2 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4016871..c02ee61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56
LIBDRM_AMDGPU_REQUIRED=2.4.63
LIBDRM_INTEL_REQUIRED=2.4.61
2009 Mar 06
2
[PATCH] Enable NV96 support
...0x00000001
#define NV8X_GRCLASS8297_CHIPSETS 0x00000050
-#define NV9X_GRCLASS8297_CHIPSETS 0x00000014
+#define NV9X_GRCLASS8297_CHIPSETS 0x00000054
static boolean
nv50_screen_is_format_supported(struct pipe_screen *pscreen,
@@ -190,12 +190,6 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
}
/* 3D object */
- if ((chipset & 0xf0) != 0x50 && (chipset & 0xf0) != 0x80) {
- NOUVEAU_ERR("Not a G8x chipset\n");
- nv50_screen_destroy(&screen->pipe);
- return NULL;
- }
-
switch (chipset & 0xf0) {
case 0x50:
if (NV5X_GRCLASS5097_CHIP...
2013 Mar 05
3
[Bug 61879] New: Python binding of gbm's gbm_create_device fail to create_device
...i
I bound gbm_create_device with both cffi and cython of gbm_create_device and
they both fail at the same place
error: Program received signal SIGSEGV, Segmentation fault.
stacktrace:
#0 0x00007fffee18af07 in PUSH_DATA (push=0x13c0410, data=536952832) at
../../../../src/gallium/drivers/nouveau/nouveau_winsys.h:35
#1 0x00007fffee18b0b2 in BEGIN_NVC0 (push=0x13c0410, subc=2, mthd=0, size=1)
at nvc0_winsys.h:112
#2 0x00007fffee18c0c1 in nvc0_screen_create (dev=0x15f8690) at
nvc0_screen.c:496
#3 0x00007fffee0c4c3b in nouveau_drm_screen_create (fd=7) at
nouveau_drm_winsys.c:46
#4 0x00007fffeb0a6943 in c...
2013 Aug 28
11
[Bug 68665] New: Crashing games when set AA to x2 on GTX760
...ys 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 ../../src/mesa/main/context.c:1455
#8 st_api_make_current at ../../src/mesa/state_tracker/st_manager.c:737
#9 dri_unbind_context at dri_context.c:217
All backtraces...
2010 Feb 02
2
[RFC] Merge of a reincarnation of the nouveau classic mesa driver.
...related comments are welcome too.
[1] http://cgit.freedesktop.org/~currojerez/mesa/
configure.ac | 2 +-
src/gallium/docs/source/distro.rst | 15 -
src/gallium/drivers/nouveau/Makefile | 3 +-
src/gallium/drivers/nouveau/nouveau_winsys.h | 18 -
src/gallium/drivers/nouveau/nv04_surface_2d.c | 547 +++++++++++++
src/gallium/drivers/nouveau/nv04_surface_2d.h | 37 +
src/gallium/drivers/nv04/Makefile | 21 -
src/gallium/drivers/nv04/nv04_clear.c | 12 -
src/gallium/drivers/nv04/...
2018 May 15
2
[Bug 106530] New: [Wayland+Nouveau] KDE Desktop crashed after login.
...try=0) at pushbuf.c:719
#12 0x00007fe0a48a4b4e in nouveau_pushbuf_space
(push=push at entry=0x564e651158c0, dwords=dwords at entry=26, relocs=relocs at entry=0,
pushes=<optimized out>, pushes at entry=0) at pushbuf.c:689
#13 0x00007fe0a50d05b6 in PUSH_SPACE (size=26, push=0x564e651158c0) at
./nouveau_winsys.h:31
#14 BEGIN_1IC0 (size=17, mthd=9100, subc=0, push=0x564e651158c0) at
./nvc0/nvc0_winsys.h:134
#15 nve4_update_surface_bindings (nvc0=0x564e66cb5750) at nvc0/nvc0_tex.c:1281
#16 nvc0_validate_surfaces (nvc0=0x564e66cb5750) at nvc0/nvc0_tex.c:1309
#17 0x00007fe0a50c78bc in nvc0_state_validate (nv...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...a/src/gallium/drivers/nv10/nv10_transfer.c
+++ /dev/null
@@ -1,178 +0,0 @@
-#include <pipe/p_state.h>
-#include <pipe/p_defines.h>
-#include <pipe/p_inlines.h>
-#include <util/u_format.h>
-#include <util/u_memory.h>
-#include <util/u_math.h>
-#include <nouveau/nouveau_winsys.h>
-#include "nv10_context.h"
-#include "nv10_screen.h"
-#include "nv10_state.h"
-
-struct nv10_transfer {
- struct pipe_transfer base;
- struct pipe_surface *surface;
- boolean direct;
-};
-
-static void
-nv10_compatible_transfer_tex(struct pipe_texture *pt, unsign...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...a/src/gallium/drivers/nv10/nv10_transfer.c
+++ /dev/null
@@ -1,178 +0,0 @@
-#include <pipe/p_state.h>
-#include <pipe/p_defines.h>
-#include <pipe/p_inlines.h>
-#include <util/u_format.h>
-#include <util/u_memory.h>
-#include <util/u_math.h>
-#include <nouveau/nouveau_winsys.h>
-#include "nv10_context.h"
-#include "nv10_screen.h"
-#include "nv10_state.h"
-
-struct nv10_transfer {
- struct pipe_transfer base;
- struct pipe_surface *surface;
- boolean direct;
-};
-
-static void
-nv10_compatible_transfer_tex(struct pipe_texture *pt, unsign...
2010 Aug 06
4
nv vpe video decoder
Hello,
I have my work on the nv vpe video decoder in a functional
state. In case you didn't know this decoder accelerates mpeg2
video at the idct/mc level. I have verified that it works on
nv40 hardware. I believe it works on nv30 hardware (and
maybe some earlier hardware), but I cannot verify since I have
none.
I will reply with patches against the kernel, drm, ddx
and mesa for
2012 May 10
12
[Bug 49727] New: wine 1.5.2 and 3Dmark2001se displays only black screen with FPS, on nv43/AGP
https://bugs.freedesktop.org/show_bug.cgi?id=49727
Bug #: 49727
Summary: wine 1.5.2 and 3Dmark2001se displays only black
screen with FPS, on nv43/AGP
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
2009 May 06
2
nv50: shader generation patches
Hi ! I've been trying to improve NV50 shader generation a bit the last couple of weeks, so here is
what I've produced. I don't know if it's usable for you or just a pile of horrible hacks, but at
least it makes some mesa demos render more correcly, p.e. the teapot (aside from mip-mapping issues
of the floor texture), arbfplight, and I think the gears also didn't appear as they
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...ivers/nv50/nv50_screen.h
+++ b/src/gallium/drivers/nv50/nv50_screen.h
@@ -2,6 +2,7 @@
#define __NV50_SCREEN_H__
#include "nouveau/nouveau_screen.h"
+#include "nv50_context.h"
struct nv50_screen {
struct nouveau_screen base;
@@ -9,6 +10,7 @@ struct nv50_screen {
struct nouveau_winsys *nvws;
unsigned cur_pctx;
+ struct nv50_context *cur_ctx;
struct nouveau_grobj *tesla;
struct nouveau_grobj *eng2d;
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index c8bdf9d..6827863 100644
--- a/src/gallium/drivers/nv50/nv5...
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...eau_fence.c
index 09b3b1e..b751971 100644
--- a/src/gallium/drivers/nouveau/nouveau_fence.c
+++ b/src/gallium/drivers/nouveau/nouveau_fence.c
@@ -23,6 +23,7 @@
#include "util/u_double_list.h"
#include "nouveau_screen.h"
+#include "nouveau_context.h"
#include "nouveau_winsys.h"
#include "nouveau_fence.h"
@@ -30,6 +31,15 @@
#include <sched.h>
#endif
+int nouveau_context_fence_kick(struct nouveau_fence_mgr *mgr)
+{
+ struct nouveau_context *context = NULL;
+
+ context = container_of(mgr, context, fence);
+
+ return nouveau_pushbuf_kick(c...
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 +-