search for: nouveau_device_open_existing

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

2009 Jan 29
1
git compile failure
...eau_drmif.h:171: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? nouveau_drmif.h:174: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? nouveau_drmif.h:179: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? nouveau_device.c: In function ?nouveau_device_open_existing?: nouveau_device.c:53: warning: implicit declaration of function ?nouveau_device_get_param? make[2]: *** [nouveau_device.lo] Error 1 make[2]: Leaving directory `/usr/src/nouveau/xf86-video-nouveau/src' The first offending line is here: NOUVEAU_PRIVATE int nouveau_device_open_existing(struct...
2015 Nov 26
0
[libdrm 06/13] nouveau: introduce object to represent the kernel client
...| 19 +++++++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/nouveau/nouveau-symbol-check b/nouveau/nouveau-symbol-check index 38b6ec5..e360b92 100755 --- a/nouveau/nouveau-symbol-check +++ b/nouveau/nouveau-symbol-check @@ -30,6 +30,8 @@ nouveau_device_del nouveau_device_open nouveau_device_open_existing nouveau_device_wrap +nouveau_drm_del +nouveau_drm_new nouveau_getparam nouveau_object_del nouveau_object_find diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c index 0017303..9f82fde 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -195,6 +195,41 @@ nouveau_object_find(struct nouveau_...
2015 Nov 26
0
[libdrm 07/13] nouveau: stack legacy nouveau_device on top of nouveau_drm
...ggs at redhat.com> --- nouveau/nouveau.c | 46 +++++++++++++++++++++------------------------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c index 9f82fde..e304a1b 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -244,39 +244,36 @@ nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd, int nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev) { - struct nouveau_device_priv *nvdev = calloc(1, sizeof(*nvdev)); - struct nouveau_device *dev = &nvdev->base; + struct nouveau_drm *drm; + struct nouveau_device_priv...
2013 Apr 29
2
[Bug 64042] New: Mesalib Installation Error
...au_pushbuf_marker_emit' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_unmap' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_channel_free' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_grobj_free' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_device_open_existing' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_emit_reloc' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_device_close' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_channel_alloc' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_b...
2015 Nov 26
0
[libdrm 05/13] nouveau: add interfaces to query information about supported classes
...bject *, + const struct nouveau_mclass *); void *nouveau_object_find(struct nouveau_object *, uint32_t parent_class); struct nouveau_device { diff --git a/nouveau/private.h b/nouveau/private.h index 5f352a4..83060f9 100644 --- a/nouveau/private.h +++ b/nouveau/private.h @@ -116,6 +116,7 @@ nouveau_device_open_existing(struct nouveau_device **, int, int, drm_context_t); /* abi16.c */ drm_private bool abi16_object(struct nouveau_object *, int (**)(struct nouveau_object *)); drm_private void abi16_delete(struct nouveau_object *); +drm_private int abi16_sclass(struct nouveau_object *, struct nouveau_sclass **);...
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
...UOBJ_FREE, - &req, sizeof(req)); - } + abi16_delete(obj); + free(obj); + *pobj = NULL; } - free(obj); - *pobj = NULL; } void * diff --git a/nouveau/private.h b/nouveau/private.h index e9439f3..5f352a4 100644 --- a/nouveau/private.h +++ b/nouveau/private.h @@ -114,11 +114,8 @@ int nouveau_device_open_existing(struct nouveau_device **, int, int, drm_context_t); /* abi16.c */ -drm_private int abi16_chan_nv04(struct nouveau_object *); -drm_private int abi16_chan_nvc0(struct nouveau_object *); -drm_private int abi16_chan_nve0(struct nouveau_object *); -drm_private int abi16_engobj(struct nouveau_obje...
2012 May 23
5
[Bug 50280] New: Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
...o.h: No such file or directory nouveau_driver.h:45:30: error: nouveau_notifier.h: No such file or directory nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory nouveau_screen.c: In function ?nouveau_init_screen2?: nouveau_screen.c:131: warning: implicit declaration of function ?nouveau_device_open_existing? nouveau_screen.c:144: error: dereferencing pointer to incomplete type nouveau_screen.c: In function ?nouveau_destroy_screen?: nouveau_screen.c:178: warning: implicit declaration of function ?nouveau_device_close? gmake[6]: *** [nouveau_fbo.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... *...
2014 Jul 31
1
[libdrm PATCH 1/3] nouveau: Only export public functions.
...b/nouveau/nouveau.c index 1bede84..43f0d3c 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -62,14 +62,14 @@ debug_init(char *args) * is kept here to prevent AIGLX from crashing if the DDX is linked against * the new libdrm, but the DRI driver against the old */ -int +drm_public int nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd, drm_context_t ctx) { return -EACCES; } -int +drm_public int nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev) { struct nouveau_device_priv *nvdev = calloc(1, sizeof(*nvdev)); @@ -147,7 +147,7 @@ nouveau_device_wr...
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 ++++++++++++++