xf86-video-ati: Branch 'master'

Dave Airlie airlied at kemper.freedesktop.org
Sun Nov 22 21:08:51 PST 2009


 src/radeon_exa.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3a1a8b7b73424a769baf917bba2223ea6515b596
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Nov 23 15:07:10 2009 +1000

    radeon: surround mixed pixmaps usage with ifdef check for old servers

diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index b2456c8..b53f318 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -391,11 +391,13 @@ void *RADEONEXACreatePixmap(ScreenPtr pScreen, int size, int align)
     RADEONInfoPtr info = RADEONPTR(pScrn);
     struct radeon_exa_pixmap_priv *new_priv;
 
+#ifdef EXA_MIXED_PIXMAPS
     if (info->accel_state->exa->flags & EXA_MIXED_PIXMAPS) {
         if (size != 0 && !info->exa_force_create &&
 	    info->vram_size <= (info->exa_low_vram_threshhold_mb*1024*1024))
             return NULL;
     }
+#endif
 	    
     new_priv = xcalloc(1, sizeof(struct radeon_exa_pixmap_priv));
     if (!new_priv)
@@ -428,11 +430,13 @@ void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height,
     uint32_t tiling = 0;
     int pixmap_align = 0;
 
+#ifdef EXA_MIXED_PIXMAPS
     if (info->accel_state->exa->flags & EXA_MIXED_PIXMAPS) {
 	if (width != 0 && height != 0 && !info->exa_force_create &&
 	    info->vram_size <= (info->exa_low_vram_threshhold_mb*1024*1024))
             return NULL;
     }
+#endif
 
     if (usage_hint) {
 	if (info->allowColorTiling) {


More information about the xorg-commit mailing list