summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-08-22 21:17:59 +1000
committerDave Airlie <airlied@redhat.com>2009-08-22 21:17:59 +1000
commitbac224912c750dc1c85ff2d9b8526dad6c23b572 (patch)
treecab32762148ac344b6a70312c2f8f261e5422b76
parent77f98717d825162da106c6898cdbcbdf5c984ae6 (diff)
radeon: don't spec any initial placement for pixmaps.
allow the first use to decide placement.
-rw-r--r--src/radeon_exa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index ec65722c..3f3c9ba5 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -391,8 +391,7 @@ void *RADEONEXACreatePixmap(ScreenPtr pScreen, int size, int align)
return new_priv;
new_priv->bo = radeon_bo_open(info->bufmgr, 0, size,
- align, RADEON_GEM_DOMAIN_VRAM |
- RADEON_GEM_DOMAIN_GTT, 0);
+ align, 0, 0);
if (!new_priv->bo) {
xfree(new_priv);
ErrorF("Failed to alloc memory\n");