diff options
author | Dave Airlie <airlied@redhat.com> | 2009-11-25 13:24:44 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-25 13:24:44 +1000 |
commit | 8b28534bcf877557a5681fa3b4f107c74615d3de (patch) | |
tree | 966775fad507586c880dba6332d55fd58ede8155 /src/radeon_exa.c | |
parent | f0acb16fa19844453adc6db3399977fba7c8a0db (diff) |
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 <airlied@redhat.com>
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r-- | src/radeon_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |