From f2509df95cd1d055e91b1558c5d9c5a935067d78 Mon Sep 17 00:00:00 2001 From: Marcin Slusarz Date: Fri, 13 Apr 2012 21:55:56 +0200 Subject: [PATCH] xorg/nouveau: switch to libdrm_nouveau-2.0 --- src/gallium/targets/xorg-nouveau/nouveau_xorg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/targets/xorg-nouveau/nouveau_xorg.c b/src/gallium/targets/xorg-nouveau/nouveau_xorg.c index 43470a1656b..d0c1b834f64 100644 --- a/src/gallium/targets/xorg-nouveau/nouveau_xorg.c +++ b/src/gallium/targets/xorg-nouveau/nouveau_xorg.c @@ -29,7 +29,7 @@ */ #include "../../state_trackers/xorg/xorg_winsys.h" -#include +#include #include #include @@ -139,7 +139,7 @@ nouveau_xorg_pci_probe(DriverPtr driver, } busid = DRICreatePCIBusID(device); - ret = nouveau_device_open(&dev, busid); + ret = nouveau_device_open(busid, &dev); if (ret) { xf86DrvMsg(-1, X_ERROR, "[drm] failed to open device\n"); free(busid); @@ -147,7 +147,7 @@ nouveau_xorg_pci_probe(DriverPtr driver, } chipset = dev->chipset; - nouveau_device_close(&dev); + nouveau_device_del(&dev); ret = drmCheckModesettingSupported(busid); free(busid); -- 2.30.2