xf86-video-intel: Branch 'intel-batchbuffer' - src/i830_dri.c

Kristian Høgsberg krh at kemper.freedesktop.org
Fri Feb 29 12:14:29 PST 2008


 src/i830_dri.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit d6f9257e81a3cd41396c88d306b35191782c2573
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Fri Feb 29 15:12:23 2008 -0500

    Drop DDX version from DRI2 call to track API changes.

diff --git a/src/i830_dri.c b/src/i830_dri.c
index 1c02fbd..d95ecb2 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -1964,9 +1964,6 @@ I830DRI2ScreenInit(ScreenPtr pScreen)
     dri2info.fd = pI830->drmSubFD;
     dri2info.driverSareaSize = sizeof *driLock;
     dri2info.driverName = IS_I965G(pI830) ? "i965" : "i915";
-    dri2info.ddxVersionMajor = I830_MAJOR_VERSION;
-    dri2info.ddxVersionMinor = I830_MINOR_VERSION;
-    dri2info.ddxVersionPatch = I830_PATCHLEVEL;
     dri2info.getPixmapHandle = I830EXAGetPixmapHandle;
     dri2info.beginClipNotify = I830DRI2BeginClipNotify;
     dri2info.endClipNotify   = I830DRI2EndClipNotify;
@@ -1993,8 +1990,7 @@ I830DRI2ScreenInit(ScreenPtr pScreen)
 
     /* Get sarea BO handle... maybe we need a dedicated function for
      * that or maybe a DRI2 info struct that it fills out. */
-    DRI2Connect(pScreen, &fd, &driverName, &major, &minor, &patch,
-		&sarea_handle);
+    DRI2Connect(pScreen, &fd, &driverName, &sarea_handle);
 
     memset(&info, 0, sizeof(info));
     info.func = I915_INIT_DMA2;


More information about the xorg-commit mailing list