From 8b28534bcf877557a5681fa3b4f107c74615d3de Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 25 Nov 2009 13:24:44 +1000 Subject: radeon/exa: change option to determine exa pixmap usage. This moves to a boolean instead of using VRAM sizing. as per Michel's suggestions on list. Signed-off-by: Dave Airlie --- src/radeon_exa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/radeon_exa.c') diff --git a/src/radeon_exa.c b/src/radeon_exa.c index b53f3182..bff6ec05 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -394,7 +394,7 @@ void *RADEONEXACreatePixmap(ScreenPtr pScreen, int size, int align) #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)) + info->exa_pixmaps == FALSE) return NULL; } #endif @@ -433,7 +433,7 @@ void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height, #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)) + info->exa_pixmaps == FALSE) return NULL; } #endif -- cgit v1.2.3