summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-12-17 13:08:34 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-12-17 13:14:21 +1000
commitbb1947831d9a4e080b8d1e9dba086af6527ef479 (patch)
treeec10c0f68eb9ce9e981c905b0c3bb7a3bc86d455
parent03c7d675f6d12886b6bca8e0375888ecf1b393df (diff)
Revert "exa: map the pixmap bo after creation to ensure a useable driver pixmap"
This reverts commit 740c9f3e79729e4e06c693e66826afbad9bd1ce5. To get the same effect as this commit, update to latest libdrm git.
-rw-r--r--src/nouveau_exa.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c
index 157b543..165484b 100644
--- a/src/nouveau_exa.c
+++ b/src/nouveau_exa.c
@@ -429,15 +429,6 @@ nouveau_exa_create_pixmap(ScreenPtr pScreen, int width, int height, int depth,
return NULL;
}
- /* We need to be sure we actually have space for this pixmap. */
- ret = nouveau_bo_map(nvpix->bo, NOUVEAU_BO_RDWR);
- if (ret) {
- nouveau_bo_ref(NULL, &nvpix->bo);
- xfree(nvpix);
- return NULL;
- }
- nouveau_bo_unmap(nvpix->bo);
-
return nvpix;
}