summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2012-04-06 15:41:55 +0200
committerBen Skeggs <bskeggs@redhat.com>2012-04-14 02:56:33 +1000
commit6d1cdec3ba151168bfc3aef222fba6265dfb41fb (patch)
treec8c013eaa14e1b7463b6b3f39221524d901370f6 /src/gallium/winsys
parent3c7872f35f4ae439082d413ab31333cf99be7e91 (diff)
downloadexternal_mesa3d-6d1cdec3ba151168bfc3aef222fba6265dfb41fb.zip
external_mesa3d-6d1cdec3ba151168bfc3aef222fba6265dfb41fb.tar.gz
external_mesa3d-6d1cdec3ba151168bfc3aef222fba6265dfb41fb.tar.bz2
nouveau: switch to libdrm_nouveau-2.0
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
index 0cbcc4b..017e92e 100644
--- a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
+++ b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
@@ -6,10 +6,6 @@
#include "nouveau_drm_public.h"
-#include "nouveau_drmif.h"
-#include "nouveau_channel.h"
-#include "nouveau_bo.h"
-
#include "nouveau/nouveau_winsys.h"
#include "nouveau/nouveau_screen.h"
@@ -20,7 +16,7 @@ nouveau_drm_screen_create(int fd)
struct pipe_screen *(*init)(struct nouveau_device *);
int ret;
- ret = nouveau_device_open_existing(&dev, 0, fd, 0);
+ ret = nouveau_device_wrap(fd, 0, &dev);
if (ret)
return NULL;