summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-05-28 10:25:44 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-05-28 16:06:16 +1000
commit65e3fb7b46cc9fc02ad12fe41e0c023c65ffe1e8 (patch)
tree7b485a94c7115481faaeed4744969bee50420e7c /src/gallium/winsys
parent713b636a0e0356266b714548886b66864b830fff (diff)
nouveau: explicitly request mappable buffers for the moment
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c b/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c
index 9e03a9f5db..2dca8cd3a9 100644
--- a/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c
+++ b/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c
@@ -74,6 +74,7 @@ nouveau_pipe_bo_create(struct pipe_winsys *ws, unsigned alignment,
nvbuf->base.size = size;
flags = nouveau_flags_from_usage(ws, usage);
+ flags |= NOUVEAU_BO_MAP;
if (nouveau_bo_new(dev, flags, alignment, size, &nvbuf->bo)) {
FREE(nvbuf);
return NULL;