From: Ben Skeggs Date: Thu, 28 May 2009 00:25:44 +0000 (+1000) Subject: nouveau: explicitly request mappable buffers for the moment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65e3fb7b46cc9fc02ad12fe41e0c023c65ffe1e8;p=mesa.git nouveau: explicitly request mappable buffers for the moment --- 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 9e03a9f5dba..2dca8cd3a90 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;