Merge branch '7.8'
authorMichel Dänzer <daenzer@vmware.com>
Fri, 23 Apr 2010 09:18:29 +0000 (11:18 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 23 Apr 2010 09:18:29 +0000 (11:18 +0200)
src/glx/dri2_glx.c
src/mesa/drivers/dri/radeon/radeon_screen.c

index 1faaf08f36606c6b4ed24f49ac202719c8d02426..9347611e7d8b5fb4de65d249c70dc9feb8d471e8 100644 (file)
@@ -225,12 +225,14 @@ dri2CreateDrawable(__GLXscreenConfigs * psc,
       return NULL;
    }
 
+#ifdef X_DRI2SwapInterval
    /*
     * Make sure server has the same swap interval we do for the new
     * drawable.
     */
    if (pdp->swapAvailable)
       DRI2SwapInterval(psc->dpy, xDrawable, pdraw->swap_interval);
+#endif
 
    return &pdraw->base;
 }
index f8dc814ff0127892ad2f8f6db3b5646897202450..4f59511a528218684bd3f3dffc2341835ee190e8 100644 (file)
@@ -1137,6 +1137,7 @@ radeonCreateScreen( __DRIscreen *sPriv )
        /* pipe overrides */
        switch (dri_priv->deviceID) {
        case PCI_CHIP_R300_AD: /* 9500 with 1 quadpipe verified by: Reid Linnemann <lreid@cs.okstate.edu> */
+       case PCI_CHIP_R350_AH: /* 9800 SE only have 1 quadpipe */
        case PCI_CHIP_RV410_5E4C: /* RV410 SE only have 1 quadpipe */
        case PCI_CHIP_RV410_5E4F: /* RV410 SE only have 1 quadpipe */
           screen->num_gb_pipes = 1;
@@ -1346,6 +1347,7 @@ radeonCreateScreen2(__DRIscreen *sPriv)
        /* pipe overrides */
        switch (device_id) {
        case PCI_CHIP_R300_AD: /* 9500 with 1 quadpipe verified by: Reid Linnemann <lreid@cs.okstate.edu> */
+       case PCI_CHIP_R350_AH: /* 9800 SE only have 1 quadpipe */
        case PCI_CHIP_RV410_5E4C: /* RV410 SE only have 1 quadpipe */
        case PCI_CHIP_RV410_5E4F: /* RV410 SE only have 1 quadpipe */
           screen->num_gb_pipes = 1;